home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1996 September / macformat-041.iso / mac / Shareware City / Developers / MegaWindow 3.0 Showcase folder / MegaWindow 3.0 Workshop < prev   
MacBinary  |  1996-04-28  |  134.0 KB  |  [STAK/WILD]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert HyperCard Stack (archive/hypercard) idMeta Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, busy, Mon Apr 22 21:27:51 1996, modified Sun Apr 28 05:54:37 1996, creator HyperCard, type HyperCard stack, 43296 bytes "MegaWindow 3.0 Workshop" , at 0xa9a0 93633 bytes resource default (weak)
99% file data default
74% TrID Mac HyperCard stack (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[STAK]
macFileCreator[WILD]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 17 4d 65 67 61 57 69 | 6e 64 6f 77 20 33 2e 30 |..MegaWi|ndow 3.0|
|00000010| 20 57 6f 72 6b 73 68 6f | 70 00 00 00 00 00 00 00 | Worksho|p.......|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 53 54 41 4b 57 49 4c | 44 05 00 00 00 00 00 00 |.STAKWIL|D.......|
|00000050| 00 00 00 00 00 a9 20 00 | 01 6d c1 ad a1 e2 97 ad |...... .|.m......|
|00000060| a8 f0 dd 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 7d 51 00 00 |........|....}Q..|
|00000080| 00 00 0c 00 53 54 41 4b | ff ff ff ff 00 00 00 00 |....STAK|........|
|00000090| 00 00 00 0a 00 00 a9 20 | 00 00 0c 00 00 00 00 00 |....... |........|
|000000a0| 00 00 00 00 00 00 00 02 | 00 00 0a 26 00 00 00 08 |........|...&....|
|000000b0| 00 00 16 56 00 00 08 af | 00 00 00 00 00 00 00 00 |...V....|........|
|000000c0| 00 00 00 00 00 00 00 00 | 00 05 00 00 10 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 02 20 80 00 02 20 80 00 | 02 20 80 00 02 20 80 00 |. ... ..|. ... ..|
|000000f0| de 2c 53 07 00 00 00 00 | 00 56 00 20 01 5e 02 20 |.,S.....|.V. .^. |
|00000100| 00 00 00 00 01 e0 02 80 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 0d 1b 00 00 0c af | 01 08 02 00 00 00 00 00 |........|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 80 00 00 00 08 00 00 00 |........|........|
|00000350| 88 00 22 00 88 00 22 00 | 88 88 22 22 88 88 22 22 |.."...".|..""..""|
|00000360| 88 aa 22 aa 88 aa 22 aa | cc aa 33 aa cc aa 33 aa |.."...".|..3...3.|
|00000370| ee aa bb aa ee aa bb aa | ee bb bb ee ee bb bb ee |........|........|
|00000380| ff bb ff ee ff bb ff ee | ff bb ff ff ff bb ff ff |........|........|
|00000390| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|000003a0| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.|
|000003b0| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|000003c0| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|000003d0| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|000003e0| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|000003f0| 03 84 48 30 0c 02 01 01 | 82 44 39 44 82 01 01 01 |..H0....|.D9D....|
|00000400| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000410| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........|
|00000420| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|00000430| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|00000440| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........|
|00000450| 08 1c 22 c1 80 01 02 04 | ff 80 80 80 ff 08 08 08 |..".....|........|
|00000460| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|00000470| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 6f 6e 20 63 72 65 61 74 | 65 45 64 69 74 44 69 61 |on creat|eEditDia|
|00000690| 6c 6f 67 0d 67 6c 6f 62 | 61 6c 20 4f 62 6a 65 63 |log.glob|al Objec|
|000006a0| 74 45 64 69 74 44 69 61 | 6c 6f 67 49 44 0d 0d 69 |tEditDia|logID..i|
|000006b0| 66 20 74 68 65 72 65 20 | 69 73 20 61 20 77 69 6e |f there |is a win|
|000006c0| 64 6f 77 20 69 64 20 4f | 62 6a 65 63 74 45 64 69 |dow id O|bjectEdi|
|000006d0| 74 44 69 61 6c 6f 67 49 | 44 20 74 68 65 6e 20 63 |tDialogI|D then c|
|000006e0| 6c 6f 73 65 20 77 69 6e | 64 6f 77 20 69 64 20 4f |lose win|dow id O|
|000006f0| 62 6a 65 63 74 45 64 69 | 74 44 69 61 6c 6f 67 49 |bjectEdi|tDialogI|
|00000700| 44 0d 70 75 74 20 4d 65 | 67 61 57 69 6e 64 6f 77 |D.put Me|gaWindow|
|00000710| 28 22 4e 65 77 22 2c 22 | 4f 62 6a 65 63 74 45 64 |("New","|ObjectEd|
|00000720| 69 74 44 69 61 6c 6f 67 | 22 2c 22 35 36 2c 34 35 |itDialog|","56,45|
|00000730| 2c 34 36 30 2c 31 39 33 | 22 2c 62 67 20 66 6c 64 |,460,193|",bg fld|
|00000740| 20 22 45 64 69 74 44 69 | 61 6c 6f 67 44 65 66 22 | "EditDi|alogDef"|
|00000750| 20 6f 66 20 63 61 72 64 | 20 33 2c 74 72 75 65 2c | of card| 3,true,|
|00000760| 20 c2 0d 65 6d 70 74 79 | 2c 22 6d 6f 64 65 6c 65 | ..empty|,"modele|
|00000770| 73 73 22 2c 22 58 57 4f | 62 6a 65 63 74 45 64 69 |ss","XWO|bjectEdi|
|00000780| 74 44 69 61 6c 6f 67 43 | 6c 69 63 6b 22 2c 22 35 |tDialogC|lick","5|
|00000790| 30 30 30 30 2c 34 30 30 | 30 30 2c 32 30 30 30 30 |0000,400|00,20000|
|000007a0| 22 29 20 69 6e 74 6f 20 | 4f 62 6a 65 63 74 45 64 |") into |ObjectEd|
|000007b0| 69 74 44 69 61 6c 6f 67 | 49 44 0d 67 65 74 20 4d |itDialog|ID.get M|
|000007c0| 65 67 61 57 69 6e 64 6f | 77 28 22 53 65 74 22 2c |egaWindo|w("Set",|
|000007d0| 22 54 65 78 74 22 2c 4f | 62 6a 65 63 74 45 64 69 |"Text",O|bjectEdi|
|000007e0| 74 44 69 61 6c 6f 67 49 | 44 2c 31 35 2c 22 3d 46 |tDialogI|D,15,"=F|
|000007f0| 4f 4e 54 22 29 0d 73 65 | 74 20 74 68 65 20 73 74 |ONT").se|t the st|
|00000800| 6f 72 61 67 65 20 6f 66 | 20 77 69 6e 64 6f 77 20 |orage of| window |
|00000810| 69 64 20 4f 62 6a 65 63 | 74 45 64 69 74 44 69 61 |id Objec|tEditDia|
|00000820| 6c 6f 67 49 44 20 74 6f | 20 22 4f 62 6a 65 63 74 |logID to| "Object|
|00000830| 20 45 64 69 74 20 44 69 | 61 6c 6f 67 22 0d 0d 65 | Edit Di|alog"..e|
|00000840| 6e 64 20 63 72 65 61 74 | 65 45 64 69 74 44 69 61 |nd creat|eEditDia|
|00000850| 6c 6f 67 0d 0d 6f 6e 20 | 63 72 65 61 74 65 45 64 |log..on |createEd|
|00000860| 69 74 50 61 6c 65 74 74 | 65 0d 67 6c 6f 62 61 6c |itPalett|e.global|
|00000870| 20 4f 62 6a 65 63 74 45 | 64 69 74 50 61 6c 65 74 | ObjectE|ditPalet|
|00000880| 74 65 49 44 0d 0d 69 66 | 20 74 68 65 72 65 20 69 |teID..if| there i|
|00000890| 73 20 61 20 77 69 6e 64 | 6f 77 20 69 64 20 4f 62 |s a wind|ow id Ob|
|000008a0| 6a 65 63 74 45 64 69 74 | 50 61 6c 65 74 74 65 49 |jectEdit|PaletteI|
|000008b0| 44 20 74 68 65 6e 20 63 | 6c 6f 73 65 20 77 69 6e |D then c|lose win|
|000008c0| 64 6f 77 20 69 64 20 4f | 62 6a 65 63 74 45 64 69 |dow id O|bjectEdi|
|000008d0| 74 50 61 6c 65 74 74 65 | 49 44 0d 70 75 74 20 4d |tPalette|ID.put M|
|000008e0| 65 67 61 57 69 6e 64 6f | 77 28 22 4e 65 77 22 2c |egaWindo|w("New",|
|000008f0| 22 4f 62 6a 65 63 74 45 | 64 69 74 50 61 6c 65 74 |"ObjectE|ditPalet|
|00000900| 74 65 22 2c 22 31 36 2c | 34 37 2c 31 30 37 2c 32 |te","16,|47,107,2|
|00000910| 30 33 47 22 2c 62 67 20 | 66 6c 64 20 22 45 64 69 |03G",bg |fld "Edi|
|00000920| 74 50 61 6c 65 74 74 65 | 44 65 66 22 20 6f 66 20 |tPalette|Def" of |
|00000930| 63 61 72 64 20 33 2c 74 | 72 75 65 2c 20 c2 0d 65 |card 3,t|rue, ..e|
|00000940| 6d 70 74 79 2c 22 70 61 | 6c 65 74 74 65 22 2c 22 |mpty,"pa|lette","|
|00000950| 58 57 4f 62 6a 65 63 74 | 45 64 69 74 50 61 6c 65 |XWObject|EditPale|
|00000960| 74 74 65 43 6c 69 63 6b | 22 2c 22 35 30 30 30 30 |tteClick|","50000|
|00000970| 2c 35 30 30 30 30 2c 35 | 30 30 30 30 22 29 20 69 |,50000,5|0000") i|
|00000980| 6e 74 6f 20 4f 62 6a 65 | 63 74 45 64 69 74 50 61 |nto Obje|ctEditPa|
|00000990| 6c 65 74 74 65 49 44 0d | 73 65 74 20 74 68 65 20 |letteID.|set the |
|000009a0| 73 74 6f 72 61 67 65 20 | 6f 66 20 77 69 6e 64 6f |storage |of windo|
|000009b0| 77 20 69 64 20 4f 62 6a | 65 63 74 45 64 69 74 50 |w id Obj|ectEditP|
|000009c0| 61 6c 65 74 74 65 49 44 | 20 74 6f 20 22 4f 62 6a |aletteID| to "Obj|
|000009d0| 65 63 74 20 45 64 69 74 | 20 50 61 6c 65 74 74 65 |ect Edit| Palette|
|000009e0| 22 0d 73 65 74 20 74 68 | 65 20 63 6c 6f 73 65 42 |".set th|e closeB|
|000009f0| 6f 78 20 6f 66 20 77 69 | 6e 64 6f 77 20 69 64 20 |ox of wi|ndow id |
|00000a00| 4f 62 6a 65 63 74 45 64 | 69 74 50 61 6c 65 74 74 |ObjectEd|itPalett|
|00000a10| 65 49 44 20 74 6f 20 66 | 61 6c 73 65 0d 65 6e 64 |eID to f|alse.end|
|00000a20| 20 63 72 65 61 74 65 45 | 64 69 74 50 61 6c 65 74 | createE|ditPalet|
|00000a30| 74 65 0d 0d 6f 6e 20 6f | 70 65 6e 53 74 61 63 6b |te..on o|penStack|
|00000a40| 0d 69 66 20 74 68 65 20 | 73 68 6f 72 74 20 6e 61 |.if the |short na|
|00000a50| 6d 65 20 6f 66 20 74 68 | 69 73 20 73 74 61 63 6b |me of th|is stack|
|00000a60| 20 69 73 20 22 4d 65 67 | 61 57 69 6e 64 6f 77 20 | is "Meg|aWindow |
|00000a70| 33 2e 30 20 57 6f 72 6b | 73 68 6f 70 22 20 74 68 |3.0 Work|shop" th|
|00000a80| 65 6e 0d 63 72 65 61 74 | 65 45 64 69 74 44 69 61 |en.creat|eEditDia|
|00000a90| 6c 6f 67 0d 63 72 65 61 | 74 65 45 64 69 74 50 61 |log.crea|teEditPa|
|00000aa0| 6c 65 74 74 65 0d 65 6e | 64 20 69 66 0d 70 61 73 |lette.en|d if.pas|
|00000ab0| 73 20 6f 70 65 6e 53 74 | 61 63 6b 0d 65 6e 64 20 |s openSt|ack.end |
|00000ac0| 6f 70 65 6e 53 74 61 63 | 6b 0d 0d 6f 6e 20 63 6c |openStac|k..on cl|
|00000ad0| 6f 73 65 53 74 61 63 6b | 0d 67 6c 6f 62 61 6c 20 |oseStack|.global |
|00000ae0| 4f 62 6a 65 63 74 45 64 | 69 74 44 69 61 6c 6f 67 |ObjectEd|itDialog|
|00000af0| 49 44 2c 4f 62 6a 65 63 | 74 45 64 69 74 50 61 6c |ID,Objec|tEditPal|
|00000b00| 65 74 74 65 49 44 0d 69 | 66 20 74 68 65 72 65 20 |etteID.i|f there |
|00000b10| 69 73 20 61 20 77 69 6e | 64 6f 77 20 69 64 20 4f |is a win|dow id O|
|00000b20| 62 6a 65 63 74 45 64 69 | 74 44 69 61 6c 6f 67 49 |bjectEdi|tDialogI|
|00000b30| 44 20 74 68 65 6e 20 63 | 6c 6f 73 65 20 77 69 6e |D then c|lose win|
|00000b40| 64 6f 77 20 69 64 20 4f | 62 6a 65 63 74 45 64 69 |dow id O|bjectEdi|
|00000b50| 74 44 69 61 6c 6f 67 49 | 44 0d 69 66 20 74 68 65 |tDialogI|D.if the|
|00000b60| 72 65 20 69 73 20 61 20 | 77 69 6e 64 6f 77 20 69 |re is a |window i|
|00000b70| 64 20 4f 62 6a 65 63 74 | 45 64 69 74 50 61 6c 65 |d Object|EditPale|
|00000b80| 74 74 65 49 44 20 74 68 | 65 6e 20 63 6c 6f 73 65 |tteID th|en close|
|00000b90| 20 77 69 6e 64 6f 77 20 | 69 64 20 4f 62 6a 65 63 | window |id Objec|
|00000ba0| 74 45 64 69 74 50 61 6c | 65 74 74 65 49 44 0d 65 |tEditPal|etteID.e|
|00000bb0| 6e 64 20 63 6c 6f 73 65 | 53 74 61 63 6b 0d 0d 6f |nd close|Stack..o|
|00000bc0| 6e 20 4d 57 53 65 74 20 | 61 2c 62 2c 63 2c 64 0d |n MWSet |a,b,c,d.|
|00000bd0| 67 65 74 20 4d 65 67 61 | 57 69 6e 64 6f 77 28 22 |get Mega|Window("|
|00000be0| 53 65 74 22 2c 20 61 2c | 20 62 2c 20 63 2c 20 64 |Set", a,| b, c, d|
|00000bf0| 29 0d 65 6e 64 20 4d 57 | 53 65 74 0d 0d 66 75 6e |).end MW|Set..fun|
|00000c00| 63 74 69 6f 6e 20 4d 57 | 47 65 74 20 61 2c 62 2c |ction MW|Get a,b,|
|00000c10| 63 0d 72 65 74 75 72 6e | 20 4d 65 67 61 57 69 6e |c.return| MegaWin|
|00000c20| 64 6f 77 28 22 47 65 74 | 22 2c 20 61 2c 20 62 2c |dow("Get|", a, b,|
|00000c30| 20 63 29 0d 65 6e 64 20 | 4d 57 47 65 74 00 00 00 | c).end |MWGet...|
|00000c40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c80| 00 00 02 00 4d 41 53 54 | ff ff ff ff 00 00 00 00 |....MAST|........|
|00000c90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ca0| 00 00 70 af 00 00 74 aa | 00 00 b4 26 00 03 f7 c9 |..p...t.|...&....|
|00000cb0| 00 05 41 af 00 05 46 1b | 00 03 d5 9f 00 05 33 0d |..A...F.|......3.|
|00000cc0| 00 04 7c 66 00 04 bc 94 | 00 04 e5 08 00 04 ff 99 |..|f....|........|
|00000cd0| 00 05 25 55 00 03 ed a5 | 00 03 ef 56 00 00 00 00 |..%U....|...V....|
|00000ce0| 00 05 0d c8 00 05 1b ca | 00 00 00 00 00 00 00 00 |........|........|
|00000cf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000da0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000db0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000dc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000dd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000df0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e80| 00 00 00 80 4c 49 53 54 | 00 00 08 af 00 00 00 00 |....LIST|........|
|00000e90| 00 00 00 01 00 00 08 00 | 00 00 00 08 00 34 00 02 |........|.....4..|
|00000ea0| 00 0c 00 03 40 00 01 3d | 00 00 00 08 00 00 00 00 |....@..=|........|
|00000eb0| 00 00 09 aa 00 08 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ec0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ed0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ee0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ef0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f00| 00 00 08 00 50 41 47 45 | 00 00 09 aa 00 00 00 00 |....PAGE|........|
|00000f10| 00 00 08 af 91 cd 88 41 | 00 00 16 56 60 00 00 00 |.......A|...V`...|
|00000f20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 10 66 |........|.......f|
|00000f50| 20 5f ff 46 ef 77 b3 cc | ff e2 d7 cf fb 5f fd f3 | _.F.w..|....._..|
|00000f60| f7 fa f7 ef ff fd ef ee | e1 dd e7 f5 ef f7 1e 5f |........|......._|
|00000f70| f6 fe db be b7 f7 df b3 | ff 35 dd dd f4 d7 ff bc |........|.5......|
|00000f80| 00 00 12 08 60 2f 83 56 | 07 ac 4a 22 4e 7a 60 de |....`/.V|..J"Nz`.|
|00000f90| 80 a9 a7 21 4d 1b 26 b6 | b0 2f 18 35 4f 85 e7 88 |...!M.&.|./.5O...|
|00000fa0| 89 a6 db ea 17 6e c5 6c | 9b c7 50 14 5b c6 20 ce |.....n.l|..P.[. .|
|00000fb0| 2b 5f c1 30 00 00 13 99 | 20 25 c6 0e a6 91 b3 22 |+_.0....| %....."|
|00000fc0| 42 60 4a 16 32 0c a2 d9 | ac 07 a4 a4 80 a5 4c 97 |B`J.2...|......L.|
|00000fd0| 05 54 c0 a0 00 a2 e6 26 | 60 62 80 b6 21 02 77 52 |.T.....&|`b..!.wR|
|00000fe0| 40 59 84 51 a6 9c 11 20 | 00 00 18 c8 20 27 ea 00 |@Y.Q... |.... '..|
|00000ff0| 50 12 06 62 52 18 67 86 | 22 d3 a2 02 74 22 01 82 |P..bR.g.|"...t"..|
|00001000| 48 2a 42 14 05 0c c1 86 | 43 87 28 10 6a 13 00 0c |H*B.....|C.(.j...|
|00001010| 91 86 44 30 e4 02 00 d0 | a7 17 80 2c 00 00 19 ca |..D0....|...,....|
|00001020| 20 40 e8 0a a6 52 12 02 | 40 42 04 07 34 40 02 00 | @...R..|@B..4@..|
|00001030| 2c 24 80 b2 00 08 42 31 | 05 62 8a a8 11 e0 62 00 |,$....B1|.b....b.|
|00001040| 00 00 00 16 c1 83 01 00 | 40 59 c4 d8 42 00 40 70 |........|@Y..B.@p|
|00001050| 00 00 14 55 20 61 9a 08 | 04 30 52 82 40 04 43 46 |...U a..|.0R.@.CF|
|00001060| ba 40 a3 80 34 04 20 c0 | 40 48 c4 14 85 08 e1 80 |.@..4. .|@H......|
|00001070| c1 02 69 42 22 78 00 05 | a5 82 81 18 64 08 10 5e |..iB"x..|....d..^|
|00001080| 83 15 07 30 00 00 0f 0d | 20 07 ea 60 11 16 32 02 |...0....| ..`..2.|
|00001090| c3 fc 43 a6 51 81 72 83 | 08 fa 5b 82 40 2b a2 14 |..C.Q.r.|..[.@+..|
|000010a0| 05 48 e5 80 09 82 0a 10 | 28 77 50 1d 85 17 41 38 |.H......|(wP...A8|
|000010b0| e7 09 2c 59 52 d7 30 a0 | 00 00 00 00 00 00 00 00 |..,YR.0.|........|
|000010c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000012a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000012b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000012c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000012d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000012e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000012f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001400| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001410| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001420| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001470| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001680| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001690| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001700| 00 00 64 20 42 4b 47 44 | 00 00 0a 26 00 00 00 00 |..d BKGD|...&....|
|00001710| 00 00 0e 9f 40 00 00 00 | 00 00 00 06 00 00 15 a5 |....@...|........|
|00001720| 00 00 15 a5 00 11 00 18 | 00 00 08 3c 00 03 00 00 |........|...<....|
|00001730| 0a e6 00 76 00 01 02 24 | 00 05 00 e5 01 03 01 fb |...v...$|........|
|00001740| 20 07 00 00 00 00 00 00 | 00 03 00 09 20 00 00 0c | .......|.... ...|
|00001750| 4f 62 6a 65 63 74 4c 69 | 73 74 00 00 6f 6e 20 65 |ObjectLi|st..on e|
|00001760| 6e 74 65 72 4b 65 79 49 | 6e 46 69 65 6c 64 0d 63 |nterKeyI|nField.c|
|00001770| 6c 69 63 6b 20 61 74 20 | 74 68 65 20 6c 6f 63 20 |lick at |the loc |
|00001780| 6f 66 20 62 67 20 62 74 | 6e 20 22 4f 70 65 6e 20 |of bg bt|n "Open |
|00001790| 3e 3e 22 0d 65 6e 64 20 | 65 6e 74 65 72 4b 65 79 |>>".end |enterKey|
|000017a0| 49 6e 46 69 65 6c 64 00 | 00 ba 00 04 01 00 00 0c |InField.|........|
|000017b0| 00 0e 00 1a 00 35 a0 02 | 00 00 00 00 00 01 00 03 |.....5..|........|
|000017c0| 00 09 01 00 00 0c 4e 65 | 77 00 00 6f 6e 20 6d 6f |......Ne|w..on mo|
|000017d0| 75 73 65 55 70 0d 73 65 | 74 20 74 68 65 20 63 75 |useUp.se|t the cu|
|000017e0| 72 73 6f 72 20 74 6f 20 | 77 61 74 63 68 0d 69 66 |rsor to |watch.if|
|000017f0| 20 74 68 65 72 65 20 69 | 73 20 61 20 6d 65 6e 75 | there i|s a menu|
|00001800| 49 74 65 6d 20 22 4e 65 | 77 20 43 61 72 64 22 20 |Item "Ne|w Card" |
|00001810| 69 6e 20 6d 65 6e 75 20 | 22 45 64 69 74 22 20 74 |in menu |"Edit" t|
|00001820| 68 65 6e 20 64 6f 4d 65 | 6e 75 20 22 4e 65 77 20 |hen doMe|nu "New |
|00001830| 43 61 72 64 22 0d 73 65 | 6c 65 63 74 20 6c 69 6e |Card".se|lect lin|
|00001840| 65 20 31 20 6f 66 20 66 | 69 65 6c 64 20 22 54 69 |e 1 of f|ield "Ti|
|00001850| 74 6c 65 22 0d 65 6e 64 | 20 6d 6f 75 73 65 55 70 |tle".end| mouseUp|
|00001860| 00 00 00 a4 00 06 01 00 | 00 0c 00 37 00 1a 00 73 |........|...7...s|
|00001870| a0 02 00 00 00 00 00 01 | 00 03 00 09 01 00 00 0c |........|........|
|00001880| 44 65 6c 65 74 65 00 00 | 6f 6e 20 6d 6f 75 73 65 |Delete..|on mouse|
|00001890| 55 70 0d 73 65 74 20 74 | 68 65 20 63 75 72 73 6f |Up.set t|he curso|
|000018a0| 72 20 74 6f 20 77 61 74 | 63 68 0d 69 66 20 74 68 |r to wat|ch.if th|
|000018b0| 65 72 65 20 69 73 20 61 | 20 6d 65 6e 75 49 74 65 |ere is a| menuIte|
|000018c0| 6d 20 22 44 65 6c 65 74 | 65 20 43 61 72 64 22 20 |m "Delet|e Card" |
|000018d0| 69 6e 20 6d 65 6e 75 20 | 22 45 64 69 74 22 20 74 |in menu |"Edit" t|
|000018e0| 68 65 6e 20 64 6f 4d 65 | 6e 75 20 22 44 65 6c 65 |hen doMe|nu "Dele|
|000018f0| 74 65 20 43 61 72 64 22 | 0d 65 6e 64 20 6d 6f 75 |te Card"|.end mou|
|00001900| 73 65 55 70 00 00 03 56 | 00 07 01 00 00 0c 00 92 |seUp...V|........|
|00001910| 00 1a 00 d8 a0 02 00 00 | 00 00 00 01 00 03 00 09 |........|........|
|00001920| 01 00 00 0c 4f 70 65 6e | 20 3e 3e 00 00 6f 6e 20 |....Open| >>..on |
|00001930| 6d 6f 75 73 65 55 70 0d | 67 6c 6f 62 61 6c 20 6f |mouseUp.|global o|
|00001940| 62 6a 65 63 74 45 64 69 | 74 50 61 6c 65 74 74 65 |bjectEdi|tPalette|
|00001950| 49 44 0d 69 66 20 66 6c | 64 20 22 54 69 74 6c 65 |ID.if fl|d "Title|
|00001960| 22 20 69 73 20 65 6d 70 | 74 79 20 74 68 65 6e 0d |" is emp|ty then.|
|00001970| 73 65 6c 65 63 74 20 6c | 69 6e 65 20 31 20 6f 66 |select l|ine 1 of|
|00001980| 20 66 6c 64 20 22 74 69 | 74 6c 65 22 0d 65 78 69 | fld "ti|tle".exi|
|00001990| 74 20 6d 6f 75 73 65 55 | 70 0d 65 6e 64 20 69 66 |t mouseU|p.end if|
|000019a0| 0d 69 66 20 66 6c 64 20 | 22 52 65 63 74 22 20 69 |.if fld |"Rect" i|
|000019b0| 73 20 65 6d 70 74 79 20 | 74 68 65 6e 0d 73 65 6c |s empty |then.sel|
|000019c0| 65 63 74 20 6c 69 6e 65 | 20 31 20 6f 66 20 66 6c |ect line| 1 of fl|
|000019d0| 64 20 22 52 65 63 74 22 | 0d 65 78 69 74 20 6d 6f |d "Rect"|.exit mo|
|000019e0| 75 73 65 55 70 0d 65 6e | 64 20 69 66 0d 0d 70 75 |useUp.en|d if..pu|
|000019f0| 74 20 4d 65 67 61 57 69 | 6e 64 6f 77 28 22 4e 65 |t MegaWi|ndow("Ne|
|00001a00| 77 22 2c 66 6c 64 20 22 | 54 69 74 6c 65 22 2c 66 |w",fld "|Title",f|
|00001a10| 6c 64 20 22 52 65 63 74 | 22 2c 66 6c 64 20 22 4f |ld "Rect|",fld "O|
|00001a20| 62 6a 65 63 74 4c 69 73 | 74 22 2c 68 69 6c 69 74 |bjectLis|t",hilit|
|00001a30| 65 20 6f 66 20 62 67 20 | 62 74 6e 20 22 46 6c 6f |e of bg |btn "Flo|
|00001a40| 61 74 69 6e 67 22 2c 20 | c2 0d 66 6c 64 20 22 4d |ating", |..fld "M|
|00001a50| 69 6e 4d 61 78 53 69 7a | 65 22 2c 66 6c 64 20 22 |inMaxSiz|e",fld "|
|00001a60| 57 44 45 46 22 2c 20 66 | 6c 64 20 22 4d 6f 75 73 |WDEF", f|ld "Mous|
|00001a70| 65 4d 65 73 73 61 67 65 | 22 2c 20 66 6c 64 20 22 |eMessage|", fld "|
|00001a80| 42 6b 67 6e 64 52 47 42 | 22 29 20 69 6e 74 6f 20 |BkgndRGB|") into |
|00001a90| 77 69 6e 64 6f 77 49 44 | 0d 69 66 20 74 68 65 72 |windowID|.if ther|
|00001aa0| 65 20 69 73 20 61 20 77 | 69 6e 64 6f 77 20 69 64 |e is a w|indow id|
|00001ab0| 20 77 69 6e 64 6f 77 49 | 44 20 74 68 65 6e 0d 64 | windowI|D then.d|
|00001ac0| 69 73 61 62 6c 65 20 62 | 67 20 62 74 6e 20 69 64 |isable b|g btn id|
|00001ad0| 20 37 0d 73 65 74 20 74 | 68 65 20 6c 6f 63 6b 54 | 7.set t|he lockT|
|00001ae0| 65 78 74 20 6f 66 20 66 | 6c 64 20 22 4f 62 6a 65 |ext of f|ld "Obje|
|00001af0| 63 74 4c 69 73 74 22 20 | 74 6f 20 74 72 75 65 0d |ctList" |to true.|
|00001b00| 73 65 74 20 74 68 65 20 | 65 64 69 74 69 6e 67 20 |set the |editing |
|00001b10| 6f 66 20 77 69 6e 64 6f | 77 20 69 64 20 77 69 6e |of windo|w id win|
|00001b20| 64 6f 77 49 44 20 74 6f | 20 74 72 75 65 0d 73 65 |dowID to| true.se|
|00001b30| 74 20 74 68 65 20 67 65 | 74 43 6c 6f 73 65 50 72 |t the ge|tClosePr|
|00001b40| 6d 20 6f 66 20 77 69 6e | 64 6f 77 20 69 64 20 77 |m of win|dow id w|
|00001b50| 69 6e 64 6f 77 49 44 20 | 74 6f 20 74 72 75 65 0d |indowID |to true.|
|00001b60| 73 65 74 20 74 68 65 20 | 73 74 6f 72 61 67 65 20 |set the |storage |
|00001b70| 6f 66 20 77 69 6e 64 6f | 77 20 69 64 20 77 69 6e |of windo|w id win|
|00001b80| 64 6f 77 49 44 20 74 6f | 20 22 57 6f 72 6b 73 68 |dowID to| "Worksh|
|00001b90| 6f 70 22 26 26 74 68 65 | 20 6c 6f 6e 67 20 6e 61 |op"&&the| long na|
|00001ba0| 6d 65 20 6f 66 20 74 68 | 69 73 20 63 61 72 64 0d |me of th|is card.|
|00001bb0| 70 75 74 20 77 69 6e 64 | 6f 77 49 44 20 69 6e 74 |put wind|owID int|
|00001bc0| 6f 20 66 6c 64 20 22 4d | 65 67 61 57 69 6e 64 6f |o fld "M|egaWindo|
|00001bd0| 77 49 44 22 0d 73 68 6f | 77 20 77 69 6e 64 6f 77 |wID".sho|w window|
|00001be0| 20 69 64 20 77 69 6e 64 | 6f 77 49 44 0d 4d 57 53 | id wind|owID.MWS|
|00001bf0| 65 74 20 22 48 69 6c 69 | 74 65 22 2c 6f 62 6a 65 |et "Hili|te",obje|
|00001c00| 63 74 45 64 69 74 50 61 | 6c 65 74 74 65 49 44 2c |ctEditPa|letteID,|
|00001c10| 31 34 2c 74 72 75 65 0d | 73 68 6f 77 20 77 69 6e |14,true.|show win|
|00001c20| 64 6f 77 20 69 64 20 6f | 62 6a 65 63 74 45 64 69 |dow id o|bjectEdi|
|00001c30| 74 50 61 6c 65 74 74 65 | 49 44 0d 65 6c 73 65 20 |tPalette|ID.else |
|00001c40| 61 6e 73 77 65 72 20 77 | 69 6e 64 6f 77 49 44 0d |answer w|indowID.|
|00001c50| 65 6e 64 20 6d 6f 75 73 | 65 55 70 00 00 26 00 08 |end mous|eUp..&..|
|00001c60| 02 22 00 29 00 3d 00 39 | 00 d7 40 00 00 00 00 00 |.".).=.9|..@.....|
|00001c70| 00 00 00 03 00 0a 01 00 | 00 0d 54 69 74 6c 65 00 |........|..Title.|
|00001c80| 00 00 00 26 00 0a 02 22 | 00 3d 00 3d 00 4d 00 d7 |...&..."|.=.=.M..|
|00001c90| 40 00 00 00 00 00 00 00 | 00 03 00 0a 00 00 00 0d |@.......|........|
|00001ca0| 52 65 63 74 00 00 00 00 | 00 2c 00 0b 02 22 00 51 |Rect....|.,...".Q|
|00001cb0| 00 3d 00 61 00 d7 40 00 | 00 00 00 00 00 00 00 03 |.=.a..@.|........|
|00001cc0| 00 0a 00 00 00 0d 4d 69 | 6e 4d 61 78 53 69 7a 65 |......Mi|nMaxSize|
|00001cd0| 00 00 00 00 00 26 00 0c | 02 22 00 65 00 3d 00 75 |.....&..|.".e.=.u|
|00001ce0| 00 be 40 00 00 00 00 00 | 00 00 00 03 00 0a 00 00 |..@.....|........|
|00001cf0| 00 0d 57 44 45 46 00 00 | 00 00 00 2e 00 0d 02 22 |..WDEF..|......."|
|00001d00| 00 79 00 55 00 89 00 d7 | 40 00 00 00 00 00 00 00 |.y.U....|@.......|
|00001d10| 00 03 00 0a 00 00 00 0d | 4d 6f 75 73 65 4d 65 73 |........|MouseMes|
|00001d20| 73 61 67 65 00 00 00 00 | 00 2a 00 0e 02 22 00 8d |sage....|.*..."..|
|00001d30| 00 55 00 9d 00 d7 40 00 | 00 00 00 00 00 00 00 03 |.U....@.|........|
|00001d40| 00 0a 00 00 00 0d 42 6b | 67 6e 64 52 47 42 00 00 |......Bk|gndRGB..|
|00001d50| 00 00 00 76 00 10 01 00 | 00 64 00 c2 00 72 00 d5 |...v....|.d...r..|
|00001d60| 20 0b 00 00 00 00 00 01 | 00 03 00 09 01 00 00 0c | .......|........|
|00001d70| 00 00 6f 6e 20 6d 6f 75 | 73 65 55 70 0d 70 75 74 |..on mou|seUp.put|
|00001d80| 20 74 68 65 20 73 65 6c | 65 63 74 65 64 54 65 78 | the sel|ectedTex|
|00001d90| 74 20 6f 66 20 6d 65 20 | 69 6e 74 6f 20 66 6c 64 |t of me |into fld|
|00001da0| 20 22 57 44 45 46 22 0d | 73 65 6c 65 63 74 20 6c | "WDEF".|select l|
|00001db0| 69 6e 65 20 30 20 6f 66 | 20 6d 65 0d 65 6e 64 20 |ine 0 of| me.end |
|00001dc0| 6d 6f 75 73 65 55 70 00 | 00 2a 00 11 01 00 00 a2 |mouseUp.|.*......|
|00001dd0| 00 92 00 b1 00 d5 f0 05 | 00 00 00 00 00 01 00 03 |........|........|
|00001de0| 00 0a 01 00 00 0d 46 6c | 6f 61 74 69 6e 67 00 00 |......Fl|oating..|
|00001df0| 00 00 00 2e 00 14 02 8c | 00 85 00 05 00 e4 00 e3 |........|........|
|00001e00| 00 07 00 00 00 00 00 00 | 00 14 00 09 00 00 00 0c |........|........|
|00001e10| 45 64 69 74 44 69 61 6c | 6f 67 44 65 66 00 00 00 |EditDial|ogDef...|
|00001e20| 00 52 00 15 01 00 00 e7 | 00 ba 00 fb 00 d9 20 00 |.R......|...... .|
|00001e30| 00 00 73 2c 00 01 00 00 | 00 0c 00 00 00 10 00 00 |..s,....|........|
|00001e40| 6f 6e 20 6d 6f 75 73 65 | 55 70 0d 67 6f 20 6e 65 |on mouse|Up.go ne|
|00001e50| 78 74 20 63 61 72 64 20 | 6f 66 20 74 68 69 73 20 |xt card |of this |
|00001e60| 62 6b 67 6e 64 0d 65 6e | 64 20 6d 6f 75 73 65 55 |bkgnd.en|d mouseU|
|00001e70| 70 00 00 52 00 16 01 00 | 00 e7 00 0e 00 fb 00 2d |p..R....|.......-|
|00001e80| 20 00 00 00 0e fb 00 01 | 00 00 00 0c 00 00 00 10 | .......|........|
|00001e90| 00 00 6f 6e 20 6d 6f 75 | 73 65 55 70 0d 67 6f 20 |..on mou|seUp.go |
|00001ea0| 70 72 65 76 20 63 61 72 | 64 20 6f 66 20 74 68 69 |prev car|d of thi|
|00001eb0| 73 20 62 6b 67 6e 64 0d | 65 6e 64 20 6d 6f 75 73 |s bkgnd.|end mous|
|00001ec0| 65 55 70 00 00 7a 00 17 | 02 0c 00 e8 00 30 00 f8 |eUp..z..|.....0..|
|00001ed0| 00 b7 00 00 00 00 00 00 | 00 01 00 00 00 0c 00 00 |........|........|
|00001ee0| 00 10 4d 65 67 61 57 69 | 6e 64 6f 77 49 44 00 00 |..MegaWi|ndowID..|
|00001ef0| 6f 6e 20 6d 6f 75 73 65 | 44 6f 77 6e 0d 69 66 20 |on mouse|Down.if |
|00001f00| 74 68 65 72 65 20 69 73 | 20 61 20 77 69 6e 64 6f |there is| a windo|
|00001f10| 77 20 69 64 20 6d 65 20 | 74 68 65 6e 20 63 6c 6f |w id me |then clo|
|00001f20| 73 65 20 77 69 6e 64 6f | 77 20 69 64 20 6d 65 0d |se windo|w id me.|
|00001f30| 65 6e 64 20 6d 6f 75 73 | 65 44 6f 77 6e 00 00 30 |end mous|eDown..0|
|00001f40| 00 18 02 8c 00 b7 00 32 | 00 e8 00 a8 00 07 00 00 |.......2|........|
|00001f50| 00 00 00 00 00 03 00 0c | 00 00 00 10 45 64 69 74 |........|....Edit|
|00001f60| 50 61 6c 65 74 74 65 44 | 65 66 00 00 00 00 00 10 |PaletteD|ef......|
|00001f70| 00 44 00 6e 6f 72 6d 61 | 6c 0d 70 61 6c 65 74 74 |.D.norma|l.palett|
|00001f80| 65 0d 62 69 67 50 61 6c | 65 74 74 65 0d 64 69 61 |e.bigPal|ette.dia|
|00001f90| 6c 6f 67 0d 64 65 73 6b | 41 63 63 65 73 73 6f 72 |log.desk|Accessor|
|00001fa0| 79 0d 6d 6f 64 65 6c 65 | 73 73 0d 72 65 63 74 0d |y.modele|ss.rect.|
|00001fb0| 73 68 61 64 6f 77 00 14 | 07 a8 00 62 75 74 74 6f |shadow..|...butto|
|00001fc0| 6e 2c 33 30 32 2c 31 37 | 2c 33 39 32 2c 33 38 2c |n,302,17|,392,38,|
|00001fd0| 4f 4b 2c 62 65 76 65 6c | 2c 47 65 6e 65 76 61 2c |OK,bevel|,Geneva,|
|00001fe0| 39 20 42 0d 62 75 74 74 | 6f 6e 2c 33 30 33 2c 34 |9 B.butt|on,303,4|
|00001ff0| 36 2c 33 39 33 2c 36 38 | 2c 43 61 6e 63 65 6c 2c |6,393,68|,Cancel,|
|00002000| 62 65 76 65 6c 2c 47 65 | 6e 65 76 61 2c 39 20 42 |bevel,Ge|neva,9 B|
|00002010| 0d 63 68 65 63 6b 42 6f | 78 2c 31 33 2c 31 38 2c |.checkBo|x,13,18,|
|00002020| 35 38 2c 33 33 2c 4c 65 | 66 74 2c 6c 69 74 74 6c |58,33,Le|ft,littl|
|00002030| 65 2c 47 65 6e 65 76 61 | 2c 39 2c 74 72 75 65 0d |e,Geneva|,9,true.|
|00002040| 63 68 65 63 6b 42 6f 78 | 2c 31 33 2c 33 33 2c 36 |checkBox|,13,33,6|
|00002050| 30 2c 34 38 2c 52 69 67 | 68 74 2c 6c 69 74 74 6c |0,48,Rig|ht,littl|
|00002060| 65 2c 47 65 6e 65 76 61 | 2c 39 2c 66 61 6c 73 65 |e,Geneva|,9,false|
|00002070| 0d 63 68 65 63 6b 42 6f | 78 2c 31 33 2c 34 38 2c |.checkBo|x,13,48,|
|00002080| 35 31 2c 36 33 2c 54 6f | 70 2c 6c 69 74 74 6c 65 |51,63,To|p,little|
|00002090| 2c 47 65 6e 65 76 61 2c | 39 2c 74 72 75 65 0d 63 |,Geneva,|9,true.c|
|000020a0| 68 65 63 6b 42 6f 78 2c | 31 33 2c 36 33 2c 36 35 |heckBox,|13,63,65|
|000020b0| 2c 37 38 2c 42 6f 74 74 | 6f 6d 2c 6c 69 74 74 6c |,78,Bott|om,littl|
|000020c0| 65 2c 47 65 6e 65 76 61 | 2c 39 2c 66 61 6c 73 65 |e,Geneva|,9,false|
|000020d0| 0d 63 68 65 63 6b 42 6f | 78 2c 38 38 2c 33 35 2c |.checkBo|x,88,35,|
|000020e0| 31 33 33 2c 35 30 2c 42 | 6f 6c 64 2c 6c 69 74 74 |133,50,B|old,litt|
|000020f0| 6c 65 2c 47 65 6e 65 76 | 61 2c 39 2c 66 61 6c 73 |le,Genev|a,9,fals|
|00002100| 65 0d 63 68 65 63 6b 42 | 6f 78 2c 38 38 2c 35 30 |e.checkB|ox,88,50|
|00002110| 2c 31 33 34 2c 36 35 2c | 49 74 61 6c 69 63 2c 6c |,134,65,|Italic,l|
|00002120| 69 74 74 6c 65 2c 47 65 | 6e 65 76 61 2c 39 2c 66 |ittle,Ge|neva,9,f|
|00002130| 61 6c 73 65 0d 63 68 65 | 63 6b 42 6f 78 2c 38 38 |alse.che|ckBox,88|
|00002140| 2c 36 35 2c 31 35 32 2c | 38 30 2c 55 6e 64 65 72 |,65,152,|80,Under|
|00002150| 6c 69 6e 65 2c 6c 69 74 | 74 6c 65 2c 47 65 6e 65 |line,lit|tle,Gene|
|00002160| 76 61 2c 39 2c 66 61 6c | 73 65 0d 63 68 65 63 6b |va,9,fal|se.check|
|00002170| 42 6f 78 2c 31 35 38 2c | 33 36 2c 32 31 33 2c 35 |Box,158,|36,213,5|
|00002180| 31 2c 4f 75 74 6c 69 6e | 65 2c 6c 69 74 74 6c 65 |1,Outlin|e,little|
|00002190| 2c 47 65 6e 65 76 61 2c | 39 2c 66 61 6c 73 65 0d |,Geneva,|9,false.|
|000021a0| 63 68 65 63 6b 42 6f 78 | 2c 31 35 38 2c 35 31 2c |checkBox|,158,51,|
|000021b0| 32 31 33 2c 36 36 2c 53 | 68 61 64 6f 77 2c 6c 69 |213,66,S|hadow,li|
|000021c0| 74 74 6c 65 2c 47 65 6e | 65 76 61 2c 39 2c 66 61 |ttle,Gen|eva,9,fa|
|000021d0| 6c 73 65 0d 63 68 65 63 | 6b 42 6f 78 2c 31 35 38 |lse.chec|kBox,158|
|000021e0| 2c 36 36 2c 32 32 30 2c | 38 31 2c 43 6f 6e 64 65 |,66,220,|81,Conde|
|000021f0| 6e 73 65 2c 6c 69 74 74 | 6c 65 2c 47 65 6e 65 76 |nse,litt|le,Genev|
|00002200| 61 2c 39 2c 66 61 6c 73 | 65 0d 63 68 65 63 6b 42 |a,9,fals|e.checkB|
|00002210| 6f 78 2c 32 32 34 2c 33 | 36 2c 32 37 39 2c 35 31 |ox,224,3|6,279,51|
|00002220| 2c 45 78 74 65 6e 64 2c | 6c 69 74 74 6c 65 2c 47 |,Extend,|little,G|
|00002230| 65 6e 65 76 61 2c 39 2c | 66 61 6c 73 65 0d 62 75 |eneva,9,|false.bu|
|00002240| 74 74 6f 6e 2c 32 33 35 | 2c 36 39 2c 32 38 34 2c |tton,235|,69,284,|
|00002250| 38 32 2c 50 6c 61 69 6e | 2c 67 72 61 79 2c 47 65 |82,Plain|,gray,Ge|
|00002260| 6e 65 76 61 2c 39 0d 6d | 65 6e 75 2c 38 39 2c 31 |neva,9.m|enu,89,1|
|00002270| 37 2c 32 35 35 2c 33 32 | 2c 46 6f 6e 74 3a 2c 74 |7,255,32|,Font:,t|
|00002280| 72 75 65 2c 47 65 6e 65 | 76 61 2c 39 0d 6f 6e 65 |rue,Gene|va,9.one|
|00002290| 4c 69 6e 65 2c 32 36 30 | 2c 31 35 2c 32 38 34 2c |Line,260|,15,284,|
|000022a0| 33 33 2c 47 65 6e 65 76 | 61 2c 39 2c 31 32 0d 66 |33,Genev|a,9,12.f|
|000022b0| 72 61 6d 65 2c 38 32 2c | 31 30 2c 32 38 38 2c 38 |rame,82,|10,288,8|
|000022c0| 35 2c 65 6d 62 6f 73 73 | 2c 54 65 78 74 2c 47 65 |5,emboss|,Text,Ge|
|000022d0| 6e 65 76 61 2c 39 0d 66 | 72 61 6d 65 2c 37 2c 31 |neva,9.f|rame,7,1|
|000022e0| 30 2c 37 34 2c 38 35 2c | 65 6d 62 6f 73 73 2c 50 |0,74,85,|emboss,P|
|000022f0| 69 6e 6e 69 6e 67 2c 47 | 65 6e 65 76 61 2c 39 0d |inning,G|eneva,9.|
|00002300| 73 74 61 74 69 63 54 65 | 78 74 20 31 33 2a 2c 33 |staticTe|xt 13*,3|
|00002310| 30 34 2c 37 34 2c 33 39 | 34 2c 38 37 2c 47 65 6e |04,74,39|4,87,Gen|
|00002320| 65 76 61 2c 39 2c 42 75 | 74 74 6f 6e 20 69 64 20 |eva,9,Bu|tton id |
|00002330| 33 0d 73 74 61 74 69 63 | 54 65 78 74 20 31 33 2a |3.static|Text 13*|
|00002340| 2c 39 2c 31 30 30 2c 33 | 36 2c 31 31 37 2c 47 65 |,9,100,3|6,117,Ge|
|00002350| 6e 65 76 61 2c 39 2c 54 | 69 74 6c 65 3a 0d 6d 65 |neva,9,T|itle:.me|
|00002360| 6e 75 20 31 33 2a 2c 31 | 33 37 2c 39 39 2c 32 38 |nu 13*,1|37,99,28|
|00002370| 39 2c 31 31 34 2c 53 74 | 79 6c 65 3a 2c 74 72 75 |9,114,St|yle:,tru|
|00002380| 65 2c 47 65 6e 65 76 61 | 2c 39 0d 6f 6e 65 4c 69 |e,Geneva|,9.oneLi|
|00002390| 6e 65 20 31 33 2a 2c 34 | 31 2c 39 37 2c 31 32 34 |ne 13*,4|1,97,124|
|000023a0| 2c 31 31 35 2c 47 65 6e | 65 76 61 2c 39 2c 43 68 |,115,Gen|eva,9,Ch|
|000023b0| 65 63 6b 42 6f 78 0d 63 | 68 65 63 6b 42 6f 78 20 |eckBox.c|heckBox |
|000023c0| 31 33 2a 2c 31 39 36 2c | 31 32 32 2c 32 39 33 2c |13*,196,|122,293,|
|000023d0| 31 33 38 2c 49 6e 69 74 | 69 61 6c 6c 79 20 4f 6e |138,Init|ially On|
|000023e0| 2c 65 6d 62 6f 73 73 2c | 43 68 69 63 61 67 6f 2c |,emboss,|Chicago,|
|000023f0| 31 32 2c 74 72 75 65 0d | 73 74 61 74 69 63 54 65 |12,true.|staticTe|
|00002400| 78 74 20 31 33 2a 2c 31 | 30 2c 31 32 33 2c 38 39 |xt 13*,1|0,123,89|
|00002410| 2c 31 33 37 2c 47 65 6e | 65 76 61 2c 39 2c 46 61 |,137,Gen|eva,9,Fa|
|00002420| 6d 69 6c 79 20 28 30 2d | 32 35 35 29 3a 0d 6f 6e |mily (0-|255):.on|
|00002430| 65 4c 69 6e 65 20 31 33 | 2a 2c 39 31 2c 31 32 30 |eLine 13|*,91,120|
|00002440| 2c 31 32 34 2c 31 33 38 | 2c 47 65 6e 65 76 61 2c |,124,138|,Geneva,|
|00002450| 39 2c 31 30 0d 73 74 61 | 74 69 63 54 65 78 74 20 |9,10.sta|ticText |
|00002460| 31 33 2a 2c 37 2c 31 30 | 30 2c 37 30 2c 31 31 37 |13*,7,10|0,70,117|
|00002470| 2c 47 65 6e 65 76 61 2c | 39 2c 56 61 6c 75 65 3a |,Geneva,|9,Value:|
|00002480| 0d 63 68 65 63 6b 42 6f | 78 20 31 33 2a 2c 31 38 |.checkBo|x 13*,18|
|00002490| 39 2c 39 37 2c 32 39 30 | 2c 31 31 35 2c 53 6d 61 |9,97,290|,115,Sma|
|000024a0| 6c 6c 20 41 72 72 6f 77 | 2c 65 6d 62 6f 73 73 2c |ll Arrow|,emboss,|
|000024b0| 43 68 69 63 61 67 6f 2c | 31 32 2c 66 61 6c 73 65 |Chicago,|12,false|
|000024c0| 0d 6f 6e 65 4c 69 6e 65 | 2c 34 34 2c 39 35 2c 32 |.oneLine|,44,95,2|
|000024d0| 38 39 2c 31 31 36 2c 43 | 68 69 63 61 67 6f 2c 31 |89,116,C|hicago,1|
|000024e0| 32 2c 4c 61 20 6c 61 20 | 6c 61 20 6c 61 20 6c 20 |2,La la |la la l |
|000024f0| 61 6c 20 61 61 0d 73 74 | 61 74 69 63 54 65 78 74 |al aa.st|aticText|
|00002500| 2c 38 2c 39 38 2c 34 34 | 2c 31 31 34 2c 43 68 69 |,8,98,44|,114,Chi|
|00002510| 63 61 67 6f 2c 31 32 2c | 54 65 78 74 3a 0d 63 68 |cago,12,|Text:.ch|
|00002520| 65 63 6b 42 6f 78 20 31 | 33 2a 2c 31 34 31 2c 39 |eckBox 1|3*,141,9|
|00002530| 37 2c 32 31 39 2c 31 31 | 35 2c 53 63 72 6f 6c 6c |7,219,11|5,Scroll|
|00002540| 69 6e 67 2c 65 6d 62 6f | 73 73 2c 43 68 69 63 61 |ing,embo|ss,Chica|
|00002550| 67 6f 2c 31 32 2c 74 72 | 75 65 0d 63 68 65 63 6b |go,12,tr|ue.check|
|00002560| 42 6f 78 20 31 33 2a 2c | 32 32 33 2c 39 37 2c 32 |Box 13*,|223,97,2|
|00002570| 39 33 2c 31 31 35 2c 46 | 72 61 6d 65 64 2c 65 6d |93,115,F|ramed,em|
|00002580| 62 6f 73 73 2c 43 68 69 | 63 61 67 6f 2c 31 32 2c |boss,Chi|cago,12,|
|00002590| 74 72 75 65 0d 63 68 65 | 63 6b 42 6f 78 20 31 33 |true.che|ckBox 13|
|000025a0| 2a 2c 32 32 33 2c 31 31 | 39 2c 32 39 37 2c 31 33 |*,223,11|9,297,13|
|000025b0| 36 2c 44 62 6c 43 6c 69 | 63 6b 2c 65 6d 62 6f 73 |6,DblCli|ck,embos|
|000025c0| 73 2c 43 68 69 63 61 67 | 6f 2c 31 32 2c 66 61 6c |s,Chicag|o,12,fal|
|000025d0| 73 65 0d 6d 65 6e 75 20 | 31 33 2a 2c 39 2c 31 32 |se.menu |13*,9,12|
|000025e0| 30 2c 31 35 32 2c 31 33 | 37 2c 52 65 73 54 79 70 |0,152,13|7,ResTyp|
|000025f0| 65 3a 2c 74 72 75 65 2c | 47 65 6e 65 76 61 2c 39 |e:,true,|Geneva,9|
|00002600| 0d 73 74 61 74 69 63 54 | 65 78 74 20 31 33 2a 2c |.staticT|ext 13*,|
|00002610| 38 2c 39 39 2c 34 35 2c | 31 31 35 2c 47 65 6e 65 |8,99,45,|115,Gene|
|00002620| 76 61 2c 39 2c 55 70 49 | 63 6f 6e 3a 0d 73 74 61 |va,9,UpI|con:.sta|
|00002630| 74 69 63 54 65 78 74 20 | 31 33 2a 2c 31 32 30 2c |ticText |13*,120,|
|00002640| 39 39 2c 31 37 31 2c 31 | 31 34 2c 47 65 6e 65 76 |99,171,1|14,Genev|
|00002650| 61 2c 39 2c 44 6f 77 6e | 49 63 6f 6e 3a 0d 6f 6e |a,9,Down|Icon:.on|
|00002660| 65 4c 69 6e 65 20 31 33 | 2a 2c 34 38 2c 39 36 2c |eLine 13|*,48,96,|
|00002670| 31 31 31 2c 31 31 34 2c | 47 65 6e 65 76 61 2c 39 |111,114,|Geneva,9|
|00002680| 2c 30 20 43 0d 6f 6e 65 | 4c 69 6e 65 20 31 33 2a |,0 C.one|Line 13*|
|00002690| 2c 31 37 32 2c 39 36 2c | 32 34 30 2c 31 31 34 2c |,172,96,|240,114,|
|000026a0| 47 65 6e 65 76 61 2c 39 | 2c 30 20 43 0d 6d 65 6e |Geneva,9|,0 C.men|
|000026b0| 75 20 31 33 2a 2c 32 35 | 30 2c 39 36 2c 33 39 37 |u 13*,25|0,96,397|
|000026c0| 2c 31 31 33 2c 41 63 74 | 69 6f 6e 3a 2c 74 72 75 |,113,Act|ion:,tru|
|000026d0| 65 2c 47 65 6e 65 76 61 | 2c 39 0d 73 74 61 74 69 |e,Geneva|,9.stati|
|000026e0| 63 54 65 78 74 20 31 33 | 2a 2c 33 30 32 2c 31 32 |cText 13|*,302,12|
|000026f0| 32 2c 33 34 31 2c 31 33 | 37 2c 47 65 6e 65 76 61 |2,341,13|7,Geneva|
|00002700| 2c 39 2c 46 61 6d 69 6c | 79 3a 0d 6f 6e 65 4c 69 |,9,Famil|y:.oneLi|
|00002710| 6e 65 20 31 33 2a 2c 33 | 34 32 2c 31 32 30 2c 33 |ne 13*,3|42,120,3|
|00002720| 39 33 2c 31 33 38 2c 47 | 65 6e 65 76 61 2c 39 2c |93,138,G|eneva,9,|
|00002730| 30 0d 6d 65 6e 75 20 31 | 33 2a 2c 31 36 30 2c 31 |0.menu 1|3*,160,1|
|00002740| 32 31 2c 32 39 31 2c 31 | 33 38 2c 4d 65 6e 75 4c |21,291,1|38,MenuL|
|00002750| 6f 63 3a 2c 74 72 75 65 | 2c 47 65 6e 65 76 61 2c |oc:,true|,Geneva,|
|00002760| 39 0d 00 18 02 ed 80 06 | 00 00 00 02 69 63 6f 6e |9.......|....icon|
|00002770| 2c 2d 31 2c 2d 31 2c 32 | 33 2c 31 39 2c 62 75 74 |,-1,-1,2|3,19,but|
|00002780| 74 6f 6e 2c 63 69 63 6e | 2c 31 32 38 20 43 2c 31 |ton,cicn|,128 C,1|
|00002790| 32 38 20 43 53 0d 69 63 | 6f 6e 2c 32 32 2c 2d 31 |28 CS.ic|on,22,-1|
|000027a0| 2c 34 36 2c 31 39 2c 62 | 75 74 74 6f 6e 2c 63 69 |,46,19,b|utton,ci|
|000027b0| 63 6e 2c 31 32 39 20 43 | 2c 31 32 39 20 43 53 0d |cn,129 C|,129 CS.|
|000027c0| 69 63 6f 6e 2c 34 35 2c | 2d 31 2c 36 39 2c 31 39 |icon,45,|-1,69,19|
|000027d0| 2c 62 75 74 74 6f 6e 2c | 63 69 63 6e 2c 31 33 30 |,button,|cicn,130|
|000027e0| 20 43 2c 31 33 30 20 43 | 53 0d 69 63 6f 6e 2c 32 | C,130 C|S.icon,2|
|000027f0| 32 2c 31 38 2c 34 36 2c | 33 38 2c 62 75 74 74 6f |2,18,46,|38,butto|
|00002800| 6e 2c 63 69 63 6e 2c 31 | 33 31 20 43 2c 31 33 31 |n,cicn,1|31 C,131|
|00002810| 20 43 53 0d 69 63 6f 6e | 2c 36 38 2c 2d 31 2c 39 | CS.icon|,68,-1,9|
|00002820| 32 2c 31 39 2c 62 75 74 | 74 6f 6e 2c 63 69 63 6e |2,19,but|ton,cicn|
|00002830| 2c 31 33 32 20 43 2c 31 | 33 32 20 43 53 0d 69 63 |,132 C,1|32 CS.ic|
|00002840| 6f 6e 2c 2d 31 2c 33 37 | 2c 32 33 2c 35 37 2c 62 |on,-1,37|,23,57,b|
|00002850| 75 74 74 6f 6e 2c 63 69 | 63 6e 2c 31 33 33 20 43 |utton,ci|cn,133 C|
|00002860| 2c 31 33 33 20 43 53 0d | 69 63 6f 6e 2c 2d 31 2c |,133 CS.|icon,-1,|
|00002870| 31 38 2c 32 33 2c 33 38 | 2c 62 75 74 74 6f 6e 2c |18,23,38|,button,|
|00002880| 63 69 63 6e 2c 31 33 34 | 20 43 2c 31 33 34 20 43 |cicn,134| C,134 C|
|00002890| 53 0d 69 63 6f 6e 2c 36 | 38 2c 31 38 2c 39 32 2c |S.icon,6|8,18,92,|
|000028a0| 33 38 2c 62 75 74 74 6f | 6e 2c 63 69 63 6e 2c 31 |38,butto|n,cicn,1|
|000028b0| 33 35 20 43 2c 31 33 35 | 20 43 53 0d 69 63 6f 6e |35 C,135| CS.icon|
|000028c0| 2c 32 32 2c 33 37 2c 34 | 36 2c 35 37 2c 62 75 74 |,22,37,4|6,57,but|
|000028d0| 74 6f 6e 2c 63 69 63 6e | 2c 31 33 36 20 43 2c 31 |ton,cicn|,136 C,1|
|000028e0| 33 36 20 43 53 0d 69 63 | 6f 6e 2c 34 35 2c 33 37 |36 CS.ic|on,45,37|
|000028f0| 2c 36 39 2c 35 37 2c 62 | 75 74 74 6f 6e 2c 63 69 |,69,57,b|utton,ci|
|00002900| 63 6e 2c 31 33 37 20 43 | 2c 31 33 37 20 43 53 0d |cn,137 C|,137 CS.|
|00002910| 69 63 6f 6e 2c 36 38 2c | 33 37 2c 39 32 2c 35 37 |icon,68,|37,92,57|
|00002920| 2c 62 75 74 74 6f 6e 2c | 63 69 63 6e 2c 31 33 38 |,button,|cicn,138|
|00002930| 20 43 2c 31 33 38 20 43 | 53 0d 69 63 6f 6e 2c 34 | C,138 C|S.icon,4|
|00002940| 35 2c 31 38 2c 36 39 2c | 33 38 2c 62 75 74 74 6f |5,18,69,|38,butto|
|00002950| 6e 2c 63 69 63 6e 2c 31 | 33 39 20 43 2c 31 33 39 |n,cicn,1|39 C,139|
|00002960| 20 43 53 0d 69 63 6f 6e | 2c 36 2c 31 33 33 2c 33 | CS.icon|,6,133,3|
|00002970| 30 2c 31 35 31 2c 62 75 | 74 74 6f 6e 2c 63 69 63 |0,151,bu|tton,cic|
|00002980| 6e 2c 32 30 33 30 20 43 | 2c 32 30 33 31 20 43 0d |n,2030 C|,2031 C.|
|00002990| 63 68 65 63 6b 42 6f 78 | 2c 33 2c 39 35 2c 38 38 |checkBox|,3,95,88|
|000029a0| 2c 31 31 31 2c 45 64 69 | 74 69 6e 67 2c 73 74 61 |,111,Edi|ting,sta|
|000029b0| 6e 64 61 72 64 2c 4d 6f | 6e 61 63 6f 2c 39 2c 66 |ndard,Mo|naco,9,f|
|000029c0| 61 6c 73 65 0d 69 63 6f | 6e 2c 35 35 2c 31 31 39 |alse.ico|n,55,119|
|000029d0| 2c 38 37 2c 31 35 32 2c | 62 75 74 74 6f 6e 2c 63 |,87,152,|button,c|
|000029e0| 69 63 6e 2c 33 30 30 30 | 20 43 2c 33 30 30 30 20 |icn,3000| C,3000 |
|000029f0| 43 53 0d 62 75 74 74 6f | 6e 2c 31 2c 37 35 2c 39 |CS.butto|n,1,75,9|
|00002a00| 30 2c 39 34 2c 53 65 6e | 64 20 54 6f 20 42 61 63 |0,94,Sen|d To Bac|
|00002a10| 6b 2c 67 72 61 79 2c 47 | 65 6e 65 76 61 2c 39 20 |k,gray,G|eneva,9 |
|00002a20| 42 0d 62 75 74 74 6f 6e | 2c 31 2c 35 38 2c 39 30 |B.button|,1,58,90|
|00002a30| 2c 37 36 2c 42 72 69 6e | 67 20 54 6f 20 46 72 6f |,76,Brin|g To Fro|
|00002a40| 6e 74 2c 67 72 61 79 2c | 47 65 6e 65 76 61 2c 39 |nt,gray,|Geneva,9|
|00002a50| 20 42 0d 00 57 69 6e 64 | 6f 77 45 64 69 74 69 6e | B..Wind|owEditin|
|00002a60| 67 00 6f 6e 20 6f 70 65 | 6e 42 61 63 6b 67 72 6f |g.on ope|nBackgro|
|00002a70| 75 6e 64 0d 67 6c 6f 62 | 61 6c 20 6f 62 6a 65 63 |und.glob|al objec|
|00002a80| 74 45 64 69 74 44 69 61 | 6c 6f 67 49 44 0d 65 6e |tEditDia|logID.en|
|00002a90| 61 62 6c 65 20 62 67 20 | 62 74 6e 20 22 4f 70 65 |able bg |btn "Ope|
|00002aa0| 6e 20 3e 3e 22 0d 73 65 | 74 20 74 68 65 20 6c 6f |n >>".se|t the lo|
|00002ab0| 63 6b 54 65 78 74 20 6f | 66 20 66 6c 64 20 22 4f |ckText o|f fld "O|
|00002ac0| 62 6a 65 63 74 4c 69 73 | 74 22 20 74 6f 20 66 61 |bjectLis|t" to fa|
|00002ad0| 6c 73 65 0d 70 75 74 20 | 65 6d 70 74 79 20 69 6e |lse.put |empty in|
|00002ae0| 74 6f 20 66 6c 64 20 22 | 4d 65 67 61 57 69 6e 64 |to fld "|MegaWind|
|00002af0| 6f 77 49 44 22 0d 73 65 | 74 20 74 68 65 20 72 65 |owID".se|t the re|
|00002b00| 63 74 20 6f 66 20 77 69 | 6e 64 6f 77 20 69 64 20 |ct of wi|ndow id |
|00002b10| 6f 62 6a 65 63 74 45 64 | 69 74 44 69 61 6c 6f 67 |objectEd|itDialog|
|00002b20| 49 44 20 74 6f 20 22 35 | 36 2c 34 35 2c 34 36 30 |ID to "5|6,45,460|
|00002b30| 2c 31 39 33 22 0d 65 6e | 64 20 6f 70 65 6e 42 61 |,193".en|d openBa|
|00002b40| 63 6b 67 72 6f 75 6e 64 | 0d 0d 6f 6e 20 6b 65 79 |ckground|..on key|
|00002b50| 44 6f 77 6e 20 77 68 69 | 63 68 4b 65 79 0d 69 66 |Down whi|chKey.if|
|00002b60| 20 63 68 61 72 54 6f 4e | 75 6d 28 77 68 69 63 68 | charToN|um(which|
|00002b70| 4b 65 79 29 20 69 73 20 | 38 20 61 6e 64 20 74 68 |Key) is |8 and th|
|00002b80| 65 20 73 65 6c 65 63 74 | 65 64 46 69 65 6c 64 20 |e select|edField |
|00002b90| 69 73 20 65 6d 70 74 79 | 20 61 6e 64 20 c2 0d 74 |is empty| and ..t|
|00002ba0| 68 65 72 65 20 69 73 20 | 61 20 77 69 6e 64 6f 77 |here is |a window|
|00002bb0| 20 22 4f 62 6a 65 63 74 | 45 64 69 74 50 61 6c 65 | "Object|EditPale|
|00002bc0| 74 74 65 22 20 74 68 65 | 6e 0d 70 75 74 20 74 68 |tte" the|n.put th|
|00002bd0| 65 20 69 64 20 6f 66 20 | 77 69 6e 64 6f 77 20 22 |e id of |window "|
|00002be0| 4f 62 6a 65 63 74 45 64 | 69 74 50 61 6c 65 74 74 |ObjectEd|itPalett|
|00002bf0| 65 22 20 69 6e 74 6f 20 | 70 49 44 0d 4d 77 53 65 |e" into |pID.MwSe|
|00002c00| 74 20 22 48 69 6c 69 74 | 65 22 2c 70 49 44 2c 31 |t "Hilit|e",pID,1|
|00002c10| 35 2c 74 72 75 65 0d 4d | 77 53 65 74 20 22 48 69 |5,true.M|wSet "Hi|
|00002c20| 6c 69 74 65 22 2c 70 49 | 44 2c 31 35 2c 66 61 6c |lite",pI|D,15,fal|
|00002c30| 73 65 0d 58 57 4f 62 6a | 65 63 74 45 64 69 74 50 |se.XWObj|ectEditP|
|00002c40| 61 6c 65 74 74 65 43 6c | 69 63 6b 20 70 49 44 2c |aletteCl|ick pID,|
|00002c50| 31 35 0d 65 6c 73 65 20 | 70 61 73 73 20 6b 65 79 |15.else |pass key|
|00002c60| 44 6f 77 6e 0d 65 6e 64 | 20 6b 65 79 44 6f 77 6e |Down.end| keyDown|
|00002c70| 0d 0d 6f 6e 20 58 57 4f | 62 6a 65 63 74 45 64 69 |..on XWO|bjectEdi|
|00002c80| 74 50 61 6c 65 74 74 65 | 43 6c 69 63 6b 20 70 61 |tPalette|Click pa|
|00002c90| 6c 65 74 74 65 49 44 2c | 20 6f 62 6a 65 63 74 4e |letteID,| objectN|
|00002ca0| 75 6d 0d 69 66 20 74 68 | 65 72 65 20 69 73 20 6e |um.if th|ere is n|
|00002cb0| 6f 74 20 61 20 77 69 6e | 64 6f 77 20 69 64 20 62 |ot a win|dow id b|
|00002cc0| 67 20 66 6c 64 20 22 4d | 65 67 61 57 69 6e 64 6f |g fld "M|egaWindo|
|00002cd0| 77 49 44 22 20 74 68 65 | 6e 0d 62 65 65 70 0d 70 |wID" the|n.beep.p|
|00002ce0| 75 74 20 65 6d 70 74 79 | 20 69 6e 74 6f 20 66 6c |ut empty| into fl|
|00002cf0| 64 20 22 4d 65 67 61 57 | 69 6e 64 6f 77 49 44 22 |d "MegaW|indowID"|
|00002d00| 0d 65 78 69 74 20 58 57 | 4f 62 6a 65 63 74 45 64 |.exit XW|ObjectEd|
|00002d10| 69 74 50 61 6c 65 74 74 | 65 43 6c 69 63 6b 0d 65 |itPalett|eClick.e|
|00002d20| 6e 64 20 69 66 0d 0d 70 | 75 74 20 66 6c 64 20 22 |nd if..p|ut fld "|
|00002d30| 4d 65 67 61 57 69 6e 64 | 6f 77 49 44 22 20 69 6e |MegaWind|owID" in|
|00002d40| 74 6f 20 77 69 6e 64 6f | 77 49 44 0d 0d 69 66 20 |to windo|wID..if |
|00002d50| 6f 62 6a 65 63 74 4e 75 | 6d 20 69 73 20 31 33 20 |objectNu|m is 13 |
|00002d60| 74 68 65 6e 0d 63 6c 6f | 73 65 20 77 69 6e 64 6f |then.clo|se windo|
|00002d70| 77 20 69 64 20 77 69 6e | 64 6f 77 49 44 0d 65 78 |w id win|dowID.ex|
|00002d80| 69 74 20 58 57 4f 62 6a | 65 63 74 45 64 69 74 50 |it XWObj|ectEditP|
|00002d90| 61 6c 65 74 74 65 43 6c | 69 63 6b 0d 65 6e 64 20 |aletteCl|ick.end |
|00002da0| 69 66 0d 0d 69 66 20 6f | 62 6a 65 63 74 4e 75 6d |if..if o|bjectNum|
|00002db0| 20 69 73 20 31 34 20 74 | 68 65 6e 0d 73 65 74 20 | is 14 t|hen.set |
|00002dc0| 74 68 65 20 65 64 69 74 | 69 6e 67 20 6f 66 20 77 |the edit|ing of w|
|00002dd0| 69 6e 64 6f 77 20 69 64 | 20 77 69 6e 64 6f 77 49 |indow id| windowI|
|00002de0| 44 20 74 6f 20 4d 57 47 | 65 74 28 22 48 69 6c 69 |D to MWG|et("Hili|
|00002df0| 74 65 22 2c 70 61 6c 65 | 74 74 65 49 44 2c 31 34 |te",pale|tteID,14|
|00002e00| 29 0d 65 78 69 74 20 58 | 57 4f 62 6a 65 63 74 45 |).exit X|WObjectE|
|00002e10| 64 69 74 50 61 6c 65 74 | 74 65 43 6c 69 63 6b 0d |ditPalet|teClick.|
|00002e20| 65 6e 64 20 69 66 0d 0d | 2d 2d 20 58 57 54 72 61 |end if..|-- XWTra|
|00002e30| 73 68 4f 62 6a 65 63 74 | 20 69 73 20 61 6e 20 75 |shObject| is an u|
|00002e40| 6e 64 6f 63 75 6d 65 6e | 74 65 64 20 66 65 61 74 |ndocumen|ted feat|
|00002e50| 75 72 65 20 74 68 61 74 | 20 72 65 6d 6f 76 65 73 |ure that| removes|
|00002e60| 20 61 6e 20 6f 62 6a 65 | 63 74 0d 2d 2d 20 61 6e | an obje|ct.-- an|
|00002e70| 64 20 73 68 69 66 74 73 | 20 74 68 65 20 6f 74 68 |d shifts| the oth|
|00002e80| 65 72 20 6f 62 6a 65 63 | 74 73 20 62 61 63 6b 20 |er objec|ts back |
|00002e90| 6f 6e 65 2e 0d 69 66 20 | 6f 62 6a 65 63 74 4e 75 |one..if |objectNu|
|00002ea0| 6d 20 69 73 20 31 35 20 | 74 68 65 6e 0d 70 75 74 |m is 15 |then.put|
|00002eb0| 20 74 68 65 20 73 65 6c | 65 63 74 65 64 4f 62 6a | the sel|ectedObj|
|00002ec0| 65 63 74 73 20 6f 66 20 | 77 69 6e 64 6f 77 20 69 |ects of |window i|
|00002ed0| 64 20 77 69 6e 64 6f 77 | 49 44 20 69 6e 74 6f 20 |d window|ID into |
|00002ee0| 6f 6c 64 53 4f 0d 73 65 | 74 20 74 68 65 20 6c 6f |oldSO.se|t the lo|
|00002ef0| 63 6b 55 70 64 61 74 65 | 20 6f 66 20 77 69 6e 64 |ckUpdate| of wind|
|00002f00| 6f 77 20 69 64 20 77 69 | 6e 64 6f 77 49 44 20 74 |ow id wi|ndowID t|
|00002f10| 6f 20 74 72 75 65 0d 69 | 66 20 6f 6c 64 53 4f 20 |o true.i|f oldSO |
|00002f20| 69 73 20 6e 6f 74 20 65 | 6d 70 74 79 20 74 68 65 |is not e|mpty the|
|00002f30| 6e 0d 72 65 70 65 61 74 | 20 77 69 74 68 20 63 6f |n.repeat| with co|
|00002f40| 75 6e 74 20 3d 20 74 68 | 65 20 6e 75 6d 62 65 72 |unt = th|e number|
|00002f50| 20 6f 66 20 69 74 65 6d | 73 20 69 6e 20 6f 6c 64 | of item|s in old|
|00002f60| 53 4f 20 64 6f 77 6e 20 | 74 6f 20 31 0d 73 65 74 |SO down |to 1.set|
|00002f70| 20 74 68 65 20 58 57 54 | 72 61 73 68 4f 62 6a 65 | the XWT|rashObje|
|00002f80| 63 74 20 6f 66 20 77 69 | 6e 64 6f 77 20 69 64 20 |ct of wi|ndow id |
|00002f90| 77 69 6e 64 6f 77 49 44 | 20 74 6f 20 69 74 65 6d |windowID| to item|
|00002fa0| 20 63 6f 75 6e 74 20 6f | 66 20 6f 6c 64 53 4f 0d | count o|f oldSO.|
|00002fb0| 65 6e 64 20 72 65 70 65 | 61 74 0d 65 6e 64 20 69 |end repe|at.end i|
|00002fc0| 66 0d 65 78 69 74 20 58 | 57 4f 62 6a 65 63 74 45 |f.exit X|WObjectE|
|00002fd0| 64 69 74 50 61 6c 65 74 | 74 65 43 6c 69 63 6b 0d |ditPalet|teClick.|
|00002fe0| 65 6e 64 20 69 66 0d 0d | 69 66 20 6f 62 6a 65 63 |end if..|if objec|
|00002ff0| 74 4e 75 6d 20 69 73 20 | 31 37 20 74 68 65 6e 0d |tNum is |17 then.|
|00003000| 70 75 74 20 74 68 65 20 | 73 65 6c 65 63 74 65 64 |put the |selected|
|00003010| 4f 62 6a 65 63 74 73 20 | 6f 66 20 77 69 6e 64 6f |Objects |of windo|
|00003020| 77 20 69 64 20 77 69 6e | 64 6f 77 49 44 20 69 6e |w id win|dowID in|
|00003030| 74 6f 20 6f 6c 64 53 4f | 0d 73 65 74 20 74 68 65 |to oldSO|.set the|
|00003040| 20 6c 6f 63 6b 55 70 64 | 61 74 65 20 6f 66 20 77 | lockUpd|ate of w|
|00003050| 69 6e 64 6f 77 20 69 64 | 20 77 69 6e 64 6f 77 49 |indow id| windowI|
|00003060| 44 20 74 6f 20 74 72 75 | 65 0d 69 66 20 6f 6c 64 |D to tru|e.if old|
|00003070| 53 4f 20 69 73 20 6e 6f | 74 20 65 6d 70 74 79 20 |SO is no|t empty |
|00003080| 74 68 65 6e 0d 70 75 74 | 20 30 20 69 6e 74 6f 20 |then.put| 0 into |
|00003090| 74 61 6c 6c 79 0d 72 65 | 70 65 61 74 20 77 69 74 |tally.re|peat wit|
|000030a0| 68 20 63 6f 75 6e 74 20 | 3d 20 74 68 65 20 6e 75 |h count |= the nu|
|000030b0| 6d 62 65 72 20 6f 66 20 | 69 74 65 6d 73 20 69 6e |mber of |items in|
|000030c0| 20 6f 6c 64 53 4f 20 64 | 6f 77 6e 20 74 6f 20 31 | oldSO d|own to 1|
|000030d0| 0d 73 65 74 20 74 68 65 | 20 58 57 42 72 69 6e 67 |.set the| XWBring|
|000030e0| 54 6f 46 72 6f 6e 74 20 | 6f 66 20 77 69 6e 64 6f |ToFront |of windo|
|000030f0| 77 20 69 64 20 77 69 6e | 64 6f 77 49 44 20 74 6f |w id win|dowID to|
|00003100| 20 28 69 74 65 6d 20 63 | 6f 75 6e 74 20 6f 66 20 | (item c|ount of |
|00003110| 6f 6c 64 53 4f 29 20 2b | 20 74 61 6c 6c 79 0d 61 |oldSO) +| tally.a|
|00003120| 64 64 20 31 20 74 6f 20 | 74 61 6c 6c 79 0d 65 6e |dd 1 to |tally.en|
|00003130| 64 20 72 65 70 65 61 74 | 0d 65 6e 64 20 69 66 0d |d repeat|.end if.|
|00003140| 65 78 69 74 20 58 57 4f | 62 6a 65 63 74 45 64 69 |exit XWO|bjectEdi|
|00003150| 74 50 61 6c 65 74 74 65 | 43 6c 69 63 6b 0d 65 6e |tPalette|Click.en|
|00003160| 64 20 69 66 0d 0d 69 66 | 20 6f 62 6a 65 63 74 4e |d if..if| objectN|
|00003170| 75 6d 20 69 73 20 31 36 | 20 74 68 65 6e 0d 70 75 |um is 16| then.pu|
|00003180| 74 20 74 68 65 20 73 65 | 6c 65 63 74 65 64 4f 62 |t the se|lectedOb|
|00003190| 6a 65 63 74 73 20 6f 66 | 20 77 69 6e 64 6f 77 20 |jects of| window |
|000031a0| 69 64 20 77 69 6e 64 6f | 77 49 44 20 69 6e 74 6f |id windo|wID into|
|000031b0| 20 6f 6c 64 53 4f 0d 73 | 65 74 20 74 68 65 20 6c | oldSO.s|et the l|
|000031c0| 6f 63 6b 55 70 64 61 74 | 65 20 6f 66 20 77 69 6e |ockUpdat|e of win|
|000031d0| 64 6f 77 20 69 64 20 77 | 69 6e 64 6f 77 49 44 20 |dow id w|indowID |
|000031e0| 74 6f 20 74 72 75 65 0d | 69 66 20 6f 6c 64 53 4f |to true.|if oldSO|
|000031f0| 20 69 73 20 6e 6f 74 20 | 65 6d 70 74 79 20 74 68 | is not |empty th|
|00003200| 65 6e 0d 72 65 70 65 61 | 74 20 77 69 74 68 20 63 |en.repea|t with c|
|00003210| 6f 75 6e 74 20 3d 20 31 | 20 74 6f 20 74 68 65 20 |ount = 1| to the |
|00003220| 6e 75 6d 62 65 72 20 6f | 66 20 69 74 65 6d 73 20 |number o|f items |
|00003230| 69 6e 20 6f 6c 64 53 4f | 0d 73 65 74 20 74 68 65 |in oldSO|.set the|
|00003240| 20 58 57 53 65 6e 64 54 | 6f 42 61 63 6b 20 6f 66 | XWSendT|oBack of|
|00003250| 20 77 69 6e 64 6f 77 20 | 69 64 20 77 69 6e 64 6f | window |id windo|
|00003260| 77 49 44 20 74 6f 20 28 | 69 74 65 6d 20 63 6f 75 |wID to (|item cou|
|00003270| 6e 74 20 6f 66 20 6f 6c | 64 53 4f 29 20 2d 20 63 |nt of ol|dSO) - c|
|00003280| 6f 75 6e 74 20 2b 20 31 | 0d 65 6e 64 20 72 65 70 |ount + 1|.end rep|
|00003290| 65 61 74 0d 65 6e 64 20 | 69 66 0d 65 78 69 74 20 |eat.end |if.exit |
|000032a0| 58 57 4f 62 6a 65 63 74 | 45 64 69 74 50 61 6c 65 |XWObject|EditPale|
|000032b0| 74 74 65 43 6c 69 63 6b | 0d 65 6e 64 20 69 66 0d |tteClick|.end if.|
|000032c0| 0d 2d 2d 20 58 57 53 68 | 69 66 74 4f 62 6a 44 65 |.-- XWSh|iftObjDe|
|000032d0| 66 20 69 73 20 61 6e 6f | 74 68 65 72 20 22 68 69 |f is ano|ther "hi|
|000032e0| 64 64 65 6e 22 20 66 65 | 61 74 75 72 65 20 6f 66 |dden" fe|ature of|
|000032f0| 20 4d 65 67 61 57 69 6e | 64 6f 77 20 74 6f 20 73 | MegaWin|dow to s|
|00003300| 70 65 65 64 20 75 70 20 | 65 64 69 74 69 6e 67 2e |peed up |editing.|
|00003310| 0d 2d 2d 20 49 74 20 70 | 75 74 73 20 61 20 6e 65 |.-- It p|uts a ne|
|00003320| 77 20 6f 62 6a 65 63 74 | 20 62 65 66 6f 72 65 20 |w object| before |
|00003330| 61 6c 6c 20 6f 74 68 65 | 72 73 20 62 79 20 73 68 |all othe|rs by sh|
|00003340| 69 66 74 69 6e 67 20 74 | 68 65 20 6e 75 6d 62 65 |ifting t|he numbe|
|00003350| 72 73 20 61 68 65 61 64 | 20 6f 6e 65 2e 0d 69 66 |rs ahead| one..if|
|00003360| 20 6f 62 6a 65 63 74 4e | 75 6d 20 69 73 20 31 20 | objectN|um is 1 |
|00003370| 74 68 65 6e 20 73 65 74 | 20 74 68 65 20 58 57 53 |then set| the XWS|
|00003380| 68 69 66 74 4f 62 6a 44 | 65 66 20 6f 66 20 77 69 |hiftObjD|ef of wi|
|00003390| 6e 64 6f 77 20 69 64 20 | 77 69 6e 64 6f 77 49 44 |ndow id |windowID|
|000033a0| 20 74 6f 20 22 62 74 6e | 20 2c 31 30 2c 31 30 2c | to "btn| ,10,10,|
|000033b0| 31 30 30 2c 33 30 2c 4e | 65 77 20 42 75 74 74 6f |100,30,N|ew Butto|
|000033c0| 6e 22 0d 69 66 20 6f 62 | 6a 65 63 74 4e 75 6d 20 |n".if ob|jectNum |
|000033d0| 69 73 20 32 20 74 68 65 | 6e 20 73 65 74 20 74 68 |is 2 the|n set th|
|000033e0| 65 20 58 57 53 68 69 66 | 74 4f 62 6a 44 65 66 20 |e XWShif|tObjDef |
|000033f0| 6f 66 20 77 69 6e 64 6f | 77 20 69 64 20 77 69 6e |of windo|w id win|
|00003400| 64 6f 77 49 44 20 74 6f | 20 22 63 68 65 63 6b 20 |dowID to| "check |
|00003410| 2c 31 30 2c 31 30 2c 31 | 31 30 2c 32 36 2c 43 68 |,10,10,1|10,26,Ch|
|00003420| 65 63 6b 42 6f 78 22 0d | 69 66 20 6f 62 6a 65 63 |eckBox".|if objec|
|00003430| 74 4e 75 6d 20 69 73 20 | 33 20 74 68 65 6e 20 73 |tNum is |3 then s|
|00003440| 65 74 20 74 68 65 20 58 | 57 53 68 69 66 74 4f 62 |et the X|WShiftOb|
|00003450| 6a 44 65 66 20 6f 66 20 | 77 69 6e 64 6f 77 20 69 |jDef of |window i|
|00003460| 64 20 77 69 6e 64 6f 77 | 49 44 20 74 6f 20 22 72 |d window|ID to "r|
|00003470| 61 64 69 6f 20 2c 31 30 | 2c 31 30 2c 31 33 30 2c |adio ,10|,10,130,|
|00003480| 32 36 2c 52 61 64 69 6f | 20 42 75 74 74 6f 6e 22 |26,Radio| Button"|
|00003490| 0d 69 66 20 6f 62 6a 65 | 63 74 4e 75 6d 20 69 73 |.if obje|ctNum is|
|000034a0| 20 35 20 74 68 65 6e 20 | 73 65 74 20 74 68 65 20 | 5 then |set the |
|000034b0| 58 57 53 68 69 66 74 4f | 62 6a 44 65 66 20 6f 66 |XWShiftO|bjDef of|
|000034c0| 20 77 69 6e 64 6f 77 20 | 69 64 20 77 69 6e 64 6f | window |id windo|
|000034d0| 77 49 44 20 74 6f 20 22 | 6f 6e 65 4c 69 6e 65 20 |wID to "|oneLine |
|000034e0| 2c 31 30 2c 31 30 2c 32 | 30 30 2c 33 32 2c 2c 2c |,10,10,2|00,32,,,|
|000034f0| 49 6e 69 74 69 61 6c 20 | 54 65 78 74 22 0d 69 66 |Initial |Text".if|
|00003500| 20 6f 62 6a 65 63 74 4e | 75 6d 20 69 73 20 37 20 | objectN|um is 7 |
|00003510| 74 68 65 6e 20 73 65 74 | 20 74 68 65 20 58 57 53 |then set| the XWS|
|00003520| 68 69 66 74 4f 62 6a 44 | 65 66 20 6f 66 20 77 69 |hiftObjD|ef of wi|
|00003530| 6e 64 6f 77 20 69 64 20 | 77 69 6e 64 6f 77 49 44 |ndow id |windowID|
|00003540| 20 74 6f 20 22 74 65 78 | 74 65 64 69 74 31 32 33 | to "tex|tedit123|
|00003550| 34 2c 31 30 2c 31 30 2c | 31 30 30 2c 31 30 30 2c |4,10,10,|100,100,|
|00003560| 74 72 75 65 2c 74 72 75 | 65 22 0d 69 66 20 6f 62 |true,tru|e".if ob|
|00003570| 6a 65 63 74 4e 75 6d 20 | 69 73 20 38 20 74 68 65 |jectNum |is 8 the|
|00003580| 6e 20 73 65 74 20 74 68 | 65 20 58 57 53 68 69 66 |n set th|e XWShif|
|00003590| 74 4f 62 6a 44 65 66 20 | 6f 66 20 77 69 6e 64 6f |tObjDef |of windo|
|000035a0| 77 20 69 64 20 77 69 6e | 64 6f 77 49 44 20 74 6f |w id win|dowID to|
|000035b0| 20 22 73 74 61 74 69 63 | 54 65 78 74 2c 31 30 2c | "static|Text,10,|
|000035c0| 31 30 2c 31 30 30 2c 32 | 38 2c 2c 2c 53 74 61 74 |10,100,2|8,,,Stat|
|000035d0| 69 63 20 54 65 78 74 22 | 0d 69 66 20 6f 62 6a 65 |ic Text"|.if obje|
|000035e0| 63 74 4e 75 6d 20 69 73 | 20 31 31 20 74 68 65 6e |ctNum is| 11 then|
|000035f0| 20 73 65 74 20 74 68 65 | 20 58 57 53 68 69 66 74 | set the| XWShift|
|00003600| 4f 62 6a 44 65 66 20 6f | 66 20 77 69 6e 64 6f 77 |ObjDef o|f window|
|00003610| 20 69 64 20 77 69 6e 64 | 6f 77 49 44 20 74 6f 20 | id wind|owID to |
|00003620| 22 66 72 61 6d 65 20 2c | 31 30 2c 31 30 2c 31 30 |"frame ,|10,10,10|
|00003630| 30 2c 31 30 30 2c 62 6c | 61 63 6b 2c 46 72 61 6d |0,100,bl|ack,Fram|
|00003640| 65 22 0d 69 66 20 6f 62 | 6a 65 63 74 4e 75 6d 20 |e".if ob|jectNum |
|00003650| 69 73 20 34 20 74 68 65 | 6e 20 73 65 74 20 74 68 |is 4 the|n set th|
|00003660| 65 20 58 57 53 68 69 66 | 74 4f 62 6a 44 65 66 20 |e XWShif|tObjDef |
|00003670| 6f 66 20 77 69 6e 64 6f | 77 20 69 64 20 77 69 6e |of windo|w id win|
|00003680| 64 6f 77 49 44 20 74 6f | 20 22 4c 69 73 74 20 31 |dowID to| "List 1|
|00003690| 32 33 34 20 2c 31 30 2c | 31 30 2c 31 30 30 2c 31 |234 ,10,|10,100,1|
|000036a0| 30 30 2c 74 72 75 65 2c | 74 72 75 65 22 0d 69 66 |00,true,|true".if|
|000036b0| 20 6f 62 6a 65 63 74 4e | 75 6d 20 69 73 20 39 20 | objectN|um is 9 |
|000036c0| 74 68 65 6e 20 73 65 74 | 20 74 68 65 20 58 57 53 |then set| the XWS|
|000036d0| 68 69 66 74 4f 62 6a 44 | 65 66 20 6f 66 20 77 69 |hiftObjD|ef of wi|
|000036e0| 6e 64 6f 77 20 69 64 20 | 77 69 6e 64 6f 77 49 44 |ndow id |windowID|
|000036f0| 20 74 6f 20 22 69 63 6f | 6e 20 2c 31 30 2c 31 30 | to "ico|n ,10,10|
|00003700| 2c 34 32 2c 34 32 2c 69 | 63 6f 6e 2c 49 43 4f 4e |,42,42,i|con,ICON|
|00003710| 2c 30 20 43 2c 30 20 43 | 22 0d 69 66 20 6f 62 6a |,0 C,0 C|".if obj|
|00003720| 65 63 74 4e 75 6d 20 69 | 73 20 31 32 20 74 68 65 |ectNum i|s 12 the|
|00003730| 6e 20 73 65 74 20 74 68 | 65 20 58 57 53 68 69 66 |n set th|e XWShif|
|00003740| 74 4f 62 6a 44 65 66 20 | 6f 66 20 77 69 6e 64 6f |tObjDef |of windo|
|00003750| 77 20 69 64 20 77 69 6e | 64 6f 77 49 44 20 74 6f |w id win|dowID to|
|00003760| 20 22 4d 65 6e 75 20 2c | 31 30 2c 31 30 2c 31 35 | "Menu ,|10,10,15|
|00003770| 30 2c 32 39 2c 50 6f 70 | 75 70 3a 2c 66 61 6c 73 |0,29,Pop|up:,fals|
|00003780| 65 22 0d 69 66 20 6f 62 | 6a 65 63 74 4e 75 6d 20 |e".if ob|jectNum |
|00003790| 69 73 20 36 20 74 68 65 | 6e 20 73 65 74 20 74 68 |is 6 the|n set th|
|000037a0| 65 20 58 57 53 68 69 66 | 74 4f 62 6a 44 65 66 20 |e XWShif|tObjDef |
|000037b0| 6f 66 20 77 69 6e 64 6f | 77 20 69 64 20 77 69 6e |of windo|w id win|
|000037c0| 64 6f 77 49 44 20 74 6f | 20 22 67 61 75 67 65 20 |dowID to| "gauge |
|000037d0| 2c 31 30 2c 31 30 2c 31 | 30 30 2c 32 35 2c 31 30 |,10,10,1|00,25,10|
|000037e0| 22 0d 69 66 20 6f 62 6a | 65 63 74 4e 75 6d 20 69 |".if obj|ectNum i|
|000037f0| 73 20 31 30 20 74 68 65 | 6e 20 73 65 74 20 74 68 |s 10 the|n set th|
|00003800| 65 20 58 57 53 68 69 66 | 74 4f 62 6a 44 65 66 20 |e XWShif|tObjDef |
|00003810| 6f 66 20 77 69 6e 64 6f | 77 20 69 64 20 77 69 6e |of windo|w id win|
|00003820| 64 6f 77 49 44 20 74 6f | 20 22 50 49 43 54 20 2c |dowID to| "PICT ,|
|00003830| 38 2c 38 2c 31 30 38 2c | 34 30 2c 31 32 33 34 22 |8,8,108,|40,1234"|
|00003840| 0d 65 6e 64 20 58 57 4f | 62 6a 65 63 74 45 64 69 |.end XWO|bjectEdi|
|00003850| 74 50 61 6c 65 74 74 65 | 43 6c 69 63 6b 0d 0d 2d |tPalette|Click..-|
|00003860| 2d 20 2a 2a 20 72 65 63 | 65 69 76 65 73 20 74 68 |- ** rec|eives th|
|00003870| 69 73 20 6d 65 73 73 61 | 67 65 20 77 68 65 6e 20 |is messa|ge when |
|00003880| 61 20 63 6c 6f 73 65 20 | 62 6f 78 20 69 73 20 63 |a close |box is c|
|00003890| 6c 69 63 6b 65 64 20 2a | 2a 20 2d 2d 0d 66 75 6e |licked *|* --.fun|
|000038a0| 63 74 69 6f 6e 20 4d 65 | 67 61 43 6c 6f 73 65 52 |ction Me|gaCloseR|
|000038b0| 65 71 75 65 73 74 20 77 | 69 64 0d 67 6c 6f 62 61 |equest w|id.globa|
|000038c0| 6c 20 6f 62 6a 65 63 74 | 45 64 69 74 50 61 6c 65 |l object|EditPale|
|000038d0| 74 74 65 49 44 0d 69 66 | 20 74 68 65 20 73 74 6f |tteID.if| the sto|
|000038e0| 72 61 67 65 20 6f 66 20 | 77 69 6e 64 6f 77 20 69 |rage of |window i|
|000038f0| 64 20 77 69 64 20 69 73 | 20 22 4f 62 6a 65 63 74 |d wid is| "Object|
|00003900| 20 45 64 69 74 20 44 69 | 61 6c 6f 67 22 20 74 68 | Edit Di|alog" th|
|00003910| 65 6e 20 72 65 74 75 72 | 6e 20 74 72 75 65 0d 69 |en retur|n true.i|
|00003920| 66 20 77 6f 72 64 20 31 | 20 6f 66 20 74 68 65 20 |f word 1| of the |
|00003930| 73 74 6f 72 61 67 65 20 | 6f 66 20 77 69 6e 64 6f |storage |of windo|
|00003940| 77 20 69 64 20 77 69 64 | 20 69 73 20 6e 6f 74 20 |w id wid| is not |
|00003950| 22 57 6f 72 6b 73 68 6f | 70 22 20 74 68 65 6e 20 |"Worksho|p" then |
|00003960| 70 61 73 73 20 4d 65 67 | 61 43 6c 6f 73 65 52 65 |pass Meg|aCloseRe|
|00003970| 71 75 65 73 74 0d 70 75 | 74 20 65 6d 70 74 79 20 |quest.pu|t empty |
|00003980| 69 6e 74 6f 20 66 6c 64 | 20 22 4d 65 67 61 57 69 |into fld| "MegaWi|
|00003990| 6e 64 6f 77 49 44 22 0d | 69 66 20 74 68 65 20 6f |ndowID".|if the o|
|000039a0| 70 74 69 6f 6e 4b 65 79 | 20 69 73 20 64 6f 77 6e |ptionKey| is down|
|000039b0| 20 74 68 65 6e 0d 65 6e | 61 62 6c 65 20 62 67 20 | then.en|able bg |
|000039c0| 62 74 6e 20 69 64 20 37 | 0d 73 65 74 20 74 68 65 |btn id 7|.set the|
|000039d0| 20 6c 6f 63 6b 54 65 78 | 74 20 6f 66 20 66 6c 64 | lockTex|t of fld|
|000039e0| 20 22 4f 62 6a 65 63 74 | 4c 69 73 74 22 20 74 6f | "Object|List" to|
|000039f0| 20 66 61 6c 73 65 0d 68 | 69 64 65 20 77 69 6e 64 | false.h|ide wind|
|00003a00| 6f 77 20 69 64 20 6f 62 | 6a 65 63 74 45 64 69 74 |ow id ob|jectEdit|
|00003a10| 50 61 6c 65 74 74 65 49 | 44 0d 72 65 74 75 72 6e |PaletteI|D.return|
|00003a20| 20 74 72 75 65 0d 65 6e | 64 20 69 66 0d 0d 73 65 | true.en|d if..se|
|00003a30| 74 20 74 68 65 20 63 75 | 72 73 6f 72 20 74 6f 20 |t the cu|rsor to |
|00003a40| 77 61 74 63 68 0d 73 65 | 74 20 74 68 65 20 73 65 |watch.se|t the se|
|00003a50| 6c 65 63 74 65 64 4f 62 | 6a 65 63 74 73 20 6f 66 |lectedOb|jects of|
|00003a60| 20 77 69 6e 64 6f 77 20 | 69 64 20 77 69 64 20 74 | window |id wid t|
|00003a70| 6f 20 65 6d 70 74 79 0d | 70 75 73 68 20 63 61 72 |o empty.|push car|
|00003a80| 64 0d 6c 6f 63 6b 20 73 | 63 72 65 65 6e 0d 64 6f |d.lock s|creen.do|
|00003a90| 20 22 67 6f 22 26 26 77 | 6f 72 64 20 32 20 74 6f | "go"&&w|ord 2 to|
|00003aa0| 20 31 30 30 20 6f 66 20 | 74 68 65 20 73 74 6f 72 | 100 of |the stor|
|00003ab0| 61 67 65 20 6f 66 20 77 | 69 6e 64 6f 77 20 69 64 |age of w|indow id|
|00003ac0| 20 77 69 64 0d 70 75 74 | 20 74 68 65 20 72 65 63 | wid.put| the rec|
|00003ad0| 74 20 6f 66 20 77 69 6e | 64 6f 77 20 69 64 20 77 |t of win|dow id w|
|00003ae0| 69 64 20 69 6e 74 6f 20 | 66 6c 64 20 22 52 65 63 |id into |fld "Rec|
|00003af0| 74 22 0d 70 75 74 20 74 | 68 65 20 6f 62 6a 65 63 |t".put t|he objec|
|00003b00| 74 4c 69 73 74 20 6f 66 | 20 77 69 6e 64 6f 77 20 |tList of| window |
|00003b10| 69 64 20 77 69 64 20 69 | 6e 74 6f 20 66 6c 64 20 |id wid i|nto fld |
|00003b20| 22 4f 62 6a 65 63 74 4c | 69 73 74 22 0d 65 6e 61 |"ObjectL|ist".ena|
|00003b30| 62 6c 65 20 62 67 20 62 | 74 6e 20 69 64 20 37 0d |ble bg b|tn id 7.|
|00003b40| 73 65 74 20 74 68 65 20 | 6c 6f 63 6b 54 65 78 74 |set the |lockText|
|00003b50| 20 6f 66 20 66 6c 64 20 | 22 4f 62 6a 65 63 74 4c | of fld |"ObjectL|
|00003b60| 69 73 74 22 20 74 6f 20 | 66 61 6c 73 65 0d 70 6f |ist" to |false.po|
|00003b70| 70 20 63 61 72 64 0d 68 | 69 64 65 20 77 69 6e 64 |p card.h|ide wind|
|00003b80| 6f 77 20 69 64 20 6f 62 | 6a 65 63 74 45 64 69 74 |ow id ob|jectEdit|
|00003b90| 50 61 6c 65 74 74 65 49 | 44 0d 72 65 74 75 72 6e |PaletteI|D.return|
|00003ba0| 20 74 72 75 65 0d 65 6e | 64 20 4d 65 67 61 43 6c | true.en|d MegaCl|
|00003bb0| 6f 73 65 52 65 71 75 65 | 73 74 0d 0d 2d 2d 20 2a |oseReque|st..-- *|
|00003bc0| 2a 20 72 65 63 65 69 76 | 65 73 20 74 68 69 73 20 |* receiv|es this |
|00003bd0| 6d 65 73 73 61 67 65 20 | 77 68 65 6e 20 61 6e 20 |message |when an |
|00003be0| 6f 62 6a 65 63 74 20 69 | 73 20 64 6f 75 62 6c 65 |object i|s double|
|00003bf0| 2d 63 6c 69 63 6b 65 64 | 20 2a 2a 20 2d 2d 0d 6f |-clicked| ** --.o|
|00003c00| 6e 20 4d 65 67 61 45 64 | 69 74 6f 72 4d 65 73 73 |n MegaEd|itorMess|
|00003c10| 61 67 65 20 73 75 62 6a | 65 63 74 57 69 6e 64 6f |age subj|ectWindo|
|00003c20| 77 2c 20 73 75 62 6a 65 | 63 74 49 74 65 6d 0d 67 |w, subje|ctItem.g|
|00003c30| 6c 6f 62 61 6c 20 6f 62 | 6a 65 63 74 45 64 69 74 |lobal ob|jectEdit|
|00003c40| 44 69 61 6c 6f 67 49 44 | 2c 20 6f 6b 4f 72 43 61 |DialogID|, okOrCa|
|00003c50| 6e 63 65 6c 0d 0d 69 66 | 20 77 6f 72 64 20 31 20 |ncel..if| word 1 |
|00003c60| 6f 66 20 74 68 65 20 73 | 74 6f 72 61 67 65 20 6f |of the s|torage o|
|00003c70| 66 20 77 69 6e 64 6f 77 | 20 69 64 20 73 75 62 6a |f window| id subj|
|00003c80| 65 63 74 57 69 6e 64 6f | 77 20 69 73 20 6e 6f 74 |ectWindo|w is not|
|00003c90| 20 22 57 6f 72 6b 73 68 | 6f 70 22 20 74 68 65 6e | "Worksh|op" then|
|00003ca0| 20 70 61 73 73 20 4d 65 | 67 61 45 64 69 74 6f 72 | pass Me|gaEditor|
|00003cb0| 4d 65 73 73 61 67 65 0d | 70 75 74 20 6f 62 6a 65 |Message.|put obje|
|00003cc0| 63 74 45 64 69 74 44 69 | 61 6c 6f 67 49 44 20 69 |ctEditDi|alogID i|
|00003cd0| 6e 74 6f 20 64 69 61 6c | 6f 67 49 44 0d 69 66 20 |nto dial|ogID.if |
|00003ce0| 74 68 65 72 65 20 69 73 | 20 6e 6f 74 20 61 20 77 |there is| not a w|
|00003cf0| 69 6e 64 6f 77 20 69 64 | 20 64 69 61 6c 6f 67 49 |indow id| dialogI|
|00003d00| 44 20 74 68 65 6e 0d 62 | 65 65 70 0d 65 78 69 74 |D then.b|eep.exit|
|00003d10| 20 4d 65 67 61 45 64 69 | 74 6f 72 4d 65 73 73 61 | MegaEdi|torMessa|
|00003d20| 67 65 0d 65 6e 64 20 69 | 66 0d 0d 73 65 74 20 63 |ge.end i|f..set c|
|00003d30| 75 72 73 6f 72 20 74 6f | 20 77 61 74 63 68 0d 0d |ursor to| watch..|
|00003d40| 2d 2d 20 45 44 49 54 49 | 4e 49 54 20 61 6e 64 20 |-- EDITI|NIT and |
|00003d50| 4b 49 4c 4c 45 44 49 54 | 20 61 72 65 20 73 70 65 |KILLEDIT| are spe|
|00003d60| 63 69 61 6c 69 7a 65 64 | 20 63 61 6c 6c 73 20 66 |cialized| calls f|
|00003d70| 6f 72 20 74 68 65 20 65 | 64 69 74 6f 72 20 64 69 |or the e|ditor di|
|00003d80| 61 6c 6f 67 2e 0d 2d 2d | 20 54 68 65 79 27 6c 6c |alog..--| They'll|
|00003d90| 20 63 72 61 73 68 20 77 | 68 65 6e 20 75 73 65 64 | crash w|hen used|
|00003da0| 20 6f 6e 20 61 6e 79 20 | 6f 74 68 65 72 20 77 69 | on any |other wi|
|00003db0| 6e 64 6f 77 2e 20 53 6f | 20 64 6f 6e 27 74 20 74 |ndow. So| don't t|
|00003dc0| 72 79 20 69 74 2e 0d 67 | 65 74 20 4d 65 67 61 57 |ry it..g|et MegaW|
|00003dd0| 69 6e 64 6f 77 28 22 45 | 44 49 54 49 4e 49 54 22 |indow("E|DITINIT"|
|00003de0| 2c 64 69 61 6c 6f 67 49 | 44 2c 73 75 62 6a 65 63 |,dialogI|D,subjec|
|00003df0| 74 57 69 6e 64 6f 77 2c | 73 75 62 6a 65 63 74 49 |tWindow,|subjectI|
|00003e00| 74 65 6d 29 0d 0d 70 75 | 74 20 4d 65 67 61 57 69 |tem)..pu|t MegaWi|
|00003e10| 6e 64 6f 77 28 22 47 65 | 74 22 2c 22 54 65 78 74 |ndow("Ge|t","Text|
|00003e20| 46 6f 6e 74 22 2c 73 75 | 62 6a 65 63 74 57 69 6e |Font",su|bjectWin|
|00003e30| 64 6f 77 2c 73 75 62 6a | 65 63 74 49 74 65 6d 29 |dow,subj|ectItem)|
|00003e40| 20 69 6e 74 6f 20 66 69 | 6e 64 46 6f 6e 74 0d 70 | into fi|ndFont.p|
|00003e50| 75 74 20 4d 65 67 61 57 | 69 6e 64 6f 77 28 22 47 |ut MegaW|indow("G|
|00003e60| 65 74 22 2c 22 54 65 78 | 74 22 2c 64 69 61 6c 6f |et","Tex|t",dialo|
|00003e70| 67 49 44 2c 31 35 29 20 | 69 6e 74 6f 20 66 6f 6e |gID,15) |into fon|
|00003e80| 74 4c 69 73 74 0d 72 65 | 70 65 61 74 20 77 69 74 |tList.re|peat wit|
|00003e90| 68 20 63 6f 75 6e 74 20 | 3d 20 31 20 74 6f 20 74 |h count |= 1 to t|
|00003ea0| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 6c 69 6e |he numbe|r of lin|
|00003eb0| 65 73 20 69 6e 20 66 6f | 6e 74 4c 69 73 74 0d 69 |es in fo|ntList.i|
|00003ec0| 66 20 66 69 6e 64 46 6f | 6e 74 20 69 73 20 6e 6f |f findFo|nt is no|
|00003ed0| 74 20 28 6c 69 6e 65 20 | 63 6f 75 6e 74 20 6f 66 |t (line |count of|
|00003ee0| 20 66 6f 6e 74 4c 69 73 | 74 29 20 74 68 65 6e 20 | fontLis|t) then |
|00003ef0| 6e 65 78 74 20 72 65 70 | 65 61 74 0d 67 65 74 20 |next rep|eat.get |
|00003f00| 4d 65 67 61 57 69 6e 64 | 6f 77 28 22 53 65 74 22 |MegaWind|ow("Set"|
|00003f10| 2c 22 53 65 6c 65 63 74 | 69 6f 6e 22 2c 64 69 61 |,"Select|ion",dia|
|00003f20| 6c 6f 67 49 44 2c 31 35 | 2c 63 6f 75 6e 74 29 0d |logID,15|,count).|
|00003f30| 65 78 69 74 20 72 65 70 | 65 61 74 0d 65 6e 64 20 |exit rep|eat.end |
|00003f40| 72 65 70 65 61 74 0d 67 | 65 74 20 4d 65 67 61 57 |repeat.g|et MegaW|
|00003f50| 69 6e 64 6f 77 28 22 53 | 65 74 22 2c 22 53 65 6c |indow("S|et","Sel|
|00003f60| 65 63 74 69 6f 6e 22 2c | 64 69 61 6c 6f 67 49 44 |ection",|dialogID|
|00003f70| 2c 31 36 2c 22 30 2c 33 | 32 37 36 37 22 29 0d 0d |,16,"0,3|2767")..|
|00003f80| 70 75 74 20 4d 65 67 61 | 57 69 6e 64 6f 77 28 22 |put Mega|Window("|
|00003f90| 47 65 74 22 2c 22 6f 62 | 6a 65 63 74 54 79 70 65 |Get","ob|jectType|
|00003fa0| 22 2c 73 75 62 6a 65 63 | 74 57 69 6e 64 6f 77 2c |",subjec|tWindow,|
|00003fb0| 73 75 62 6a 65 63 74 49 | 74 65 6d 29 20 69 6e 74 |subjectI|tem) int|
|00003fc0| 6f 20 74 68 65 54 79 70 | 65 0d 73 65 74 20 74 68 |o theTyp|e.set th|
|00003fd0| 65 20 74 69 74 6c 65 20 | 6f 66 20 77 69 6e 64 6f |e title |of windo|
|00003fe0| 77 20 69 64 20 64 69 61 | 6c 6f 67 49 44 20 74 6f |w id dia|logID to|
|00003ff0| 20 74 68 65 54 79 70 65 | 26 26 22 69 64 22 26 26 | theType|&&"id"&&|
|00004000| 73 75 62 6a 65 63 74 49 | 74 65 6d 0d 69 66 20 74 |subjectI|tem.if t|
|00004010| 68 65 54 79 70 65 20 69 | 73 20 22 62 75 74 74 6f |heType i|s "butto|
|00004020| 6e 22 20 74 68 65 6e 20 | 68 61 6e 64 6c 65 42 75 |n" then |handleBu|
|00004030| 74 74 6f 6e 44 69 61 6c | 6f 67 20 22 6f 70 65 6e |ttonDial|og "open|
|00004040| 22 2c 73 75 62 6a 65 63 | 74 57 69 6e 64 6f 77 2c |",subjec|tWindow,|
|00004050| 20 73 75 62 6a 65 63 74 | 49 74 65 6d 2c 20 64 69 | subject|Item, di|
|00004060| 61 6c 6f 67 49 44 0d 69 | 66 20 74 68 65 54 79 70 |alogID.i|f theTyp|
|00004070| 65 20 69 73 20 22 63 68 | 65 63 6b 42 6f 78 22 20 |e is "ch|eckBox" |
|00004080| 74 68 65 6e 20 68 61 6e | 64 6c 65 43 68 65 63 6b |then han|dleCheck|
|00004090| 42 6f 78 44 69 61 6c 6f | 67 20 22 6f 70 65 6e 22 |BoxDialo|g "open"|
|000040a0| 2c 73 75 62 6a 65 63 74 | 57 69 6e 64 6f 77 2c 20 |,subject|Window, |
|000040b0| 73 75 62 6a 65 63 74 49 | 74 65 6d 2c 20 64 69 61 |subjectI|tem, dia|
|000040c0| 6c 6f 67 49 44 0d 69 66 | 20 74 68 65 54 79 70 65 |logID.if| theType|
|000040d0| 20 69 73 20 22 72 61 64 | 69 6f 42 74 6e 22 20 74 | is "rad|ioBtn" t|
|000040e0| 68 65 6e 20 68 61 6e 64 | 6c 65 52 61 64 69 6f 42 |hen hand|leRadioB|
|000040f0| 75 74 74 6f 6e 44 69 61 | 6c 6f 67 20 22 6f 70 65 |uttonDia|log "ope|
|00004100| 6e 22 2c 73 75 62 6a 65 | 63 74 57 69 6e 64 6f 77 |n",subje|ctWindow|
|00004110| 2c 20 73 75 62 6a 65 63 | 74 49 74 65 6d 2c 20 64 |, subjec|tItem, d|
|00004120| 69 61 6c 6f 67 49 44 0d | 69 66 20 74 68 65 54 79 |ialogID.|if theTy|
|00004130| 70 65 20 69 73 20 22 66 | 72 61 6d 65 22 20 74 68 |pe is "f|rame" th|
|00004140| 65 6e 20 68 61 6e 64 6c | 65 46 72 61 6d 65 44 69 |en handl|eFrameDi|
|00004150| 61 6c 6f 67 20 22 6f 70 | 65 6e 22 2c 73 75 62 6a |alog "op|en",subj|
|00004160| 65 63 74 57 69 6e 64 6f | 77 2c 20 73 75 62 6a 65 |ectWindo|w, subje|
|00004170| 63 74 49 74 65 6d 2c 20 | 64 69 61 6c 6f 67 49 44 |ctItem, |dialogID|
|00004180| 0d 69 66 20 74 68 65 54 | 79 70 65 20 69 73 20 22 |.if theT|ype is "|
|00004190| 50 49 43 54 22 20 74 68 | 65 6e 20 68 61 6e 64 6c |PICT" th|en handl|
|000041a0| 65 50 49 43 54 44 69 61 | 6c 6f 67 20 22 6f 70 65 |ePICTDia|log "ope|
|000041b0| 6e 22 2c 73 75 62 6a 65 | 63 74 57 69 6e 64 6f 77 |n",subje|ctWindow|
|000041c0| 2c 20 73 75 62 6a 65 63 | 74 49 74 65 6d 2c 20 64 |, subjec|tItem, d|
|000041d0| 69 61 6c 6f 67 49 44 0d | 69 66 20 74 68 65 54 79 |ialogID.|if theTy|
|000041e0| 70 65 20 69 73 20 22 67 | 61 75 67 65 22 20 74 68 |pe is "g|auge" th|
|000041f0| 65 6e 20 68 61 6e 64 6c | 65 47 61 75 67 65 44 69 |en handl|eGaugeDi|
|00004200| 61 6c 6f 67 20 22 6f 70 | 65 6e 22 2c 73 75 62 6a |alog "op|en",subj|
|00004210| 65 63 74 57 69 6e 64 6f | 77 2c 20 73 75 62 6a 65 |ectWindo|w, subje|
|00004220| 63 74 49 74 65 6d 2c 20 | 64 69 61 6c 6f 67 49 44 |ctItem, |dialogID|
|00004230| 0d 69 66 20 74 68 65 54 | 79 70 65 20 69 73 20 22 |.if theT|ype is "|
|00004240| 6d 65 6e 75 22 20 74 68 | 65 6e 20 68 61 6e 64 6c |menu" th|en handl|
|00004250| 65 4d 65 6e 75 44 69 61 | 6c 6f 67 20 22 6f 70 65 |eMenuDia|log "ope|
|00004260| 6e 22 2c 73 75 62 6a 65 | 63 74 57 69 6e 64 6f 77 |n",subje|ctWindow|
|00004270| 2c 20 73 75 62 6a 65 63 | 74 49 74 65 6d 2c 20 64 |, subjec|tItem, d|
|00004280| 69 61 6c 6f 67 49 44 0d | 69 66 20 74 68 65 54 79 |ialogID.|if theTy|
|00004290| 70 65 20 69 73 20 22 6f | 6e 65 6c 69 6e 65 22 20 |pe is "o|neline" |
|000042a0| 74 68 65 6e 20 68 61 6e | 64 6c 65 4f 6e 65 6c 69 |then han|dleOneli|
|000042b0| 6e 65 44 69 61 6c 6f 67 | 20 22 6f 70 65 6e 22 2c |neDialog| "open",|
|000042c0| 73 75 62 6a 65 63 74 57 | 69 6e 64 6f 77 2c 20 73 |subjectW|indow, s|
|000042d0| 75 62 6a 65 63 74 49 74 | 65 6d 2c 20 64 69 61 6c |ubjectIt|em, dial|
|000042e0| 6f 67 49 44 0d 69 66 20 | 74 68 65 54 79 70 65 20 |ogID.if |theType |
|000042f0| 69 73 20 22 73 74 61 74 | 69 63 54 65 78 74 22 20 |is "stat|icText" |
|00004300| 74 68 65 6e 20 68 61 6e | 64 6c 65 53 74 61 74 69 |then han|dleStati|
|00004310| 63 54 65 78 74 44 69 61 | 6c 6f 67 20 22 6f 70 65 |cTextDia|log "ope|
|00004320| 6e 22 2c 73 75 62 6a 65 | 63 74 57 69 6e 64 6f 77 |n",subje|ctWindow|
|00004330| 2c 20 73 75 62 6a 65 63 | 74 49 74 65 6d 2c 20 64 |, subjec|tItem, d|
|00004340| 69 61 6c 6f 67 49 44 0d | 69 66 20 74 68 65 54 79 |ialogID.|if theTy|
|00004350| 70 65 20 69 73 20 22 74 | 65 78 74 45 64 69 74 22 |pe is "t|extEdit"|
|00004360| 20 74 68 65 6e 20 68 61 | 6e 64 6c 65 54 65 78 74 | then ha|ndleText|
|00004370| 45 64 69 74 44 69 61 6c | 6f 67 20 22 6f 70 65 6e |EditDial|og "open|
|00004380| 22 2c 73 75 62 6a 65 63 | 74 57 69 6e 64 6f 77 2c |",subjec|tWindow,|
|00004390| 20 73 75 62 6a 65 63 74 | 49 74 65 6d 2c 20 64 69 | subject|Item, di|
|000043a0| 61 6c 6f 67 49 44 0d 69 | 66 20 74 68 65 54 79 70 |alogID.i|f theTyp|
|000043b0| 65 20 69 73 20 22 6c 69 | 73 74 22 20 74 68 65 6e |e is "li|st" then|
|000043c0| 20 68 61 6e 64 6c 65 4c | 69 73 74 44 69 61 6c 6f | handleL|istDialo|
|000043d0| 67 20 22 6f 70 65 6e 22 | 2c 73 75 62 6a 65 63 74 |g "open"|,subject|
|000043e0| 57 69 6e 64 6f 77 2c 20 | 73 75 62 6a 65 63 74 49 |Window, |subjectI|
|000043f0| 74 65 6d 2c 20 64 69 61 | 6c 6f 67 49 44 0d 69 66 |tem, dia|logID.if|
|00004400| 20 74 68 65 54 79 70 65 | 20 69 73 20 22 69 63 6f | theType| is "ico|
|00004410| 6e 22 20 74 68 65 6e 20 | 68 61 6e 64 6c 65 49 63 |n" then |handleIc|
|00004420| 6f 6e 44 69 61 6c 6f 67 | 20 22 6f 70 65 6e 22 2c |onDialog| "open",|
|00004430| 73 75 62 6a 65 63 74 57 | 69 6e 64 6f 77 2c 20 73 |subjectW|indow, s|
|00004440| 75 62 6a 65 63 74 49 74 | 65 6d 2c 20 64 69 61 6c |ubjectIt|em, dial|
|00004450| 6f 67 49 44 0d 0d 53 65 | 74 4d 65 6e 75 47 72 61 |ogID..Se|tMenuGra|
|00004460| 79 20 74 72 75 65 0d 73 | 68 6f 77 20 77 69 6e 64 |y true.s|how wind|
|00004470| 6f 77 20 69 64 20 64 69 | 61 6c 6f 67 49 44 0d 4d |ow id di|alogID.M|
|00004480| 65 67 61 4d 6f 64 61 6c | 69 7a 65 20 64 69 61 6c |egaModal|ize dial|
|00004490| 6f 67 49 44 2c 20 74 72 | 75 65 0d 53 65 74 4d 65 |ogID, tr|ue.SetMe|
|000044a0| 6e 75 47 72 61 79 20 66 | 61 6c 73 65 0d 70 75 74 |nuGray f|alse.put|
|000044b0| 20 74 68 65 20 72 65 73 | 75 6c 74 20 69 6e 74 6f | the res|ult into|
|000044c0| 20 68 6f 77 43 6c 6f 73 | 65 64 0d 69 66 20 68 6f | howClos|ed.if ho|
|000044d0| 77 43 6c 6f 73 65 64 20 | 69 73 20 66 61 6c 73 65 |wClosed |is false|
|000044e0| 20 74 68 65 6e 0d 67 65 | 74 20 4d 65 67 61 57 69 | then.ge|t MegaWi|
|000044f0| 6e 64 6f 77 28 22 53 65 | 74 22 2c 22 48 69 6c 69 |ndow("Se|t","Hili|
|00004500| 74 65 22 2c 64 69 61 6c | 6f 67 49 44 2c 32 2c 22 |te",dial|ogID,2,"|
|00004510| 46 6c 61 73 68 22 29 0d | 68 69 64 65 20 77 69 6e |Flash").|hide win|
|00004520| 64 6f 77 20 69 64 20 64 | 69 61 6c 6f 67 49 44 0d |dow id d|ialogID.|
|00004530| 65 78 69 74 20 4d 65 67 | 61 45 64 69 74 6f 72 4d |exit Meg|aEditorM|
|00004540| 65 73 73 61 67 65 0d 65 | 6e 64 20 69 66 0d 68 69 |essage.e|nd if.hi|
|00004550| 64 65 20 77 69 6e 64 6f | 77 20 69 64 20 64 69 61 |de windo|w id dia|
|00004560| 6c 6f 67 49 44 0d 69 66 | 20 4f 4b 6f 72 43 61 6e |logID.if| OKorCan|
|00004570| 63 65 6c 20 69 73 20 32 | 20 74 68 65 6e 20 65 78 |cel is 2| then ex|
|00004580| 69 74 20 4d 65 67 61 45 | 64 69 74 6f 72 4d 65 73 |it MegaE|ditorMes|
|00004590| 73 61 67 65 0d 0d 73 65 | 74 20 74 68 65 20 6c 6f |sage..se|t the lo|
|000045a0| 63 6b 55 70 64 61 74 65 | 20 6f 66 20 77 69 6e 64 |ckUpdate| of wind|
|000045b0| 6f 77 20 69 64 20 73 75 | 62 6a 65 63 74 57 69 6e |ow id su|bjectWin|
|000045c0| 64 6f 77 20 74 6f 20 74 | 72 75 65 0d 67 65 74 20 |dow to t|rue.get |
|000045d0| 4d 65 67 61 57 69 6e 64 | 6f 77 28 22 53 65 74 22 |MegaWind|ow("Set"|
|000045e0| 2c 22 54 65 78 74 46 6f | 6e 74 22 2c 73 75 62 6a |,"TextFo|nt",subj|
|000045f0| 65 63 74 57 69 6e 64 6f | 77 2c 73 75 62 6a 65 63 |ectWindo|w,subjec|
|00004600| 74 49 74 65 6d 2c 6c 69 | 6e 65 20 4d 65 67 61 57 |tItem,li|ne MegaW|
|00004610| 69 6e 64 6f 77 28 22 47 | 65 74 22 2c 22 53 65 6c |indow("G|et","Sel|
|00004620| 65 63 74 69 6f 6e 22 2c | 64 69 61 6c 6f 67 49 44 |ection",|dialogID|
|00004630| 2c 31 35 29 20 6f 66 20 | 66 6f 6e 74 4c 69 73 74 |,15) of |fontList|
|00004640| 29 0d 0d 69 66 20 74 68 | 65 54 79 70 65 20 69 73 |)..if th|eType is|
|00004650| 20 22 62 75 74 74 6f 6e | 22 20 74 68 65 6e 20 68 | "button|" then h|
|00004660| 61 6e 64 6c 65 42 75 74 | 74 6f 6e 44 69 61 6c 6f |andleBut|tonDialo|
|00004670| 67 20 22 63 6c 6f 73 65 | 22 2c 20 73 75 62 6a 65 |g "close|", subje|
|00004680| 63 74 57 69 6e 64 6f 77 | 2c 20 73 75 62 6a 65 63 |ctWindow|, subjec|
|00004690| 74 49 74 65 6d 2c 20 64 | 69 61 6c 6f 67 49 44 0d |tItem, d|ialogID.|
|000046a0| 69 66 20 74 68 65 54 79 | 70 65 20 69 73 20 22 63 |if theTy|pe is "c|
|000046b0| 68 65 63 6b 42 6f 78 22 | 20 74 68 65 6e 20 68 61 |heckBox"| then ha|
|000046c0| 6e 64 6c 65 43 68 65 63 | 6b 42 6f 78 44 69 61 6c |ndleChec|kBoxDial|
|000046d0| 6f 67 20 22 63 6c 6f 73 | 65 22 2c 20 73 75 62 6a |og "clos|e", subj|
|000046e0| 65 63 74 57 69 6e 64 6f | 77 2c 20 73 75 62 6a 65 |ectWindo|w, subje|
|000046f0| 63 74 49 74 65 6d 2c 20 | 64 69 61 6c 6f 67 49 44 |ctItem, |dialogID|
|00004700| 0d 69 66 20 74 68 65 54 | 79 70 65 20 69 73 20 22 |.if theT|ype is "|
|00004710| 72 61 64 69 6f 42 74 6e | 22 20 74 68 65 6e 20 68 |radioBtn|" then h|
|00004720| 61 6e 64 6c 65 52 61 64 | 69 6f 42 75 74 74 6f 6e |andleRad|ioButton|
|00004730| 44 69 61 6c 6f 67 20 22 | 63 6c 6f 73 65 22 2c 73 |Dialog "|close",s|
|00004740| 75 62 6a 65 63 74 57 69 | 6e 64 6f 77 2c 20 73 75 |ubjectWi|ndow, su|
|00004750| 62 6a 65 63 74 49 74 65 | 6d 2c 20 64 69 61 6c 6f |bjectIte|m, dialo|
|00004760| 67 49 44 0d 69 66 20 74 | 68 65 54 79 70 65 20 69 |gID.if t|heType i|
|00004770| 73 20 22 66 72 61 6d 65 | 22 20 74 68 65 6e 20 68 |s "frame|" then h|
|00004780| 61 6e 64 6c 65 46 72 61 | 6d 65 44 69 61 6c 6f 67 |andleFra|meDialog|
|00004790| 20 22 63 6c 6f 73 65 22 | 2c 73 75 62 6a 65 63 74 | "close"|,subject|
|000047a0| 57 69 6e 64 6f 77 2c 20 | 73 75 62 6a 65 63 74 49 |Window, |subjectI|
|000047b0| 74 65 6d 2c 20 64 69 61 | 6c 6f 67 49 44 0d 69 66 |tem, dia|logID.if|
|000047c0| 20 74 68 65 54 79 70 65 | 20 69 73 20 22 50 49 43 | theType| is "PIC|
|000047d0| 54 22 20 74 68 65 6e 20 | 68 61 6e 64 6c 65 50 49 |T" then |handlePI|
|000047e0| 43 54 44 69 61 6c 6f 67 | 20 22 63 6c 6f 73 65 22 |CTDialog| "close"|
|000047f0| 2c 73 75 62 6a 65 63 74 | 57 69 6e 64 6f 77 2c 20 |,subject|Window, |
|00004800| 73 75 62 6a 65 63 74 49 | 74 65 6d 2c 20 64 69 61 |subjectI|tem, dia|
|00004810| 6c 6f 67 49 44 0d 69 66 | 20 74 68 65 54 79 70 65 |logID.if| theType|
|00004820| 20 69 73 20 22 67 61 75 | 67 65 22 20 74 68 65 6e | is "gau|ge" then|
|00004830| 20 68 61 6e 64 6c 65 47 | 61 75 67 65 44 69 61 6c | handleG|augeDial|
|00004840| 6f 67 20 22 63 6c 6f 73 | 65 22 2c 73 75 62 6a 65 |og "clos|e",subje|
|00004850| 63 74 57 69 6e 64 6f 77 | 2c 20 73 75 62 6a 65 63 |ctWindow|, subjec|
|00004860| 74 49 74 65 6d 2c 20 64 | 69 61 6c 6f 67 49 44 0d |tItem, d|ialogID.|
|00004870| 69 66 20 74 68 65 54 79 | 70 65 20 69 73 20 22 6d |if theTy|pe is "m|
|00004880| 65 6e 75 22 20 74 68 65 | 6e 20 68 61 6e 64 6c 65 |enu" the|n handle|
|00004890| 4d 65 6e 75 44 69 61 6c | 6f 67 20 22 63 6c 6f 73 |MenuDial|og "clos|
|000048a0| 65 22 2c 73 75 62 6a 65 | 63 74 57 69 6e 64 6f 77 |e",subje|ctWindow|
|000048b0| 2c 20 73 75 62 6a 65 63 | 74 49 74 65 6d 2c 20 64 |, subjec|tItem, d|
|000048c0| 69 61 6c 6f 67 49 44 0d | 69 66 20 74 68 65 54 79 |ialogID.|if theTy|
|000048d0| 70 65 20 69 73 20 22 6f | 6e 65 4c 69 6e 65 22 20 |pe is "o|neLine" |
|000048e0| 74 68 65 6e 20 68 61 6e | 64 6c 65 4f 6e 65 6c 69 |then han|dleOneli|
|000048f0| 6e 65 44 69 61 6c 6f 67 | 20 22 63 6c 6f 73 65 22 |neDialog| "close"|
|00004900| 2c 73 75 62 6a 65 63 74 | 57 69 6e 64 6f 77 2c 20 |,subject|Window, |
|00004910| 73 75 62 6a 65 63 74 49 | 74 65 6d 2c 20 64 69 61 |subjectI|tem, dia|
|00004920| 6c 6f 67 49 44 0d 69 66 | 20 74 68 65 54 79 70 65 |logID.if| theType|
|00004930| 20 69 73 20 22 73 74 61 | 74 69 63 54 65 78 74 22 | is "sta|ticText"|
|00004940| 20 74 68 65 6e 20 68 61 | 6e 64 6c 65 53 74 61 74 | then ha|ndleStat|
|00004950| 69 63 54 65 78 74 44 69 | 61 6c 6f 67 20 22 63 6c |icTextDi|alog "cl|
|00004960| 6f 73 65 22 2c 73 75 62 | 6a 65 63 74 57 69 6e 64 |ose",sub|jectWind|
|00004970| 6f 77 2c 20 73 75 62 6a | 65 63 74 49 74 65 6d 2c |ow, subj|ectItem,|
|00004980| 20 64 69 61 6c 6f 67 49 | 44 0d 69 66 20 74 68 65 | dialogI|D.if the|
|00004990| 54 79 70 65 20 69 73 20 | 22 74 65 78 74 45 64 69 |Type is |"textEdi|
|000049a0| 74 22 20 74 68 65 6e 20 | 68 61 6e 64 6c 65 54 65 |t" then |handleTe|
|000049b0| 78 74 45 64 69 74 44 69 | 61 6c 6f 67 20 22 63 6c |xtEditDi|alog "cl|
|000049c0| 6f 73 65 22 2c 73 75 62 | 6a 65 63 74 57 69 6e 64 |ose",sub|jectWind|
|000049d0| 6f 77 2c 20 73 75 62 6a | 65 63 74 49 74 65 6d 2c |ow, subj|ectItem,|
|000049e0| 20 64 69 61 6c 6f 67 49 | 44 0d 69 66 20 74 68 65 | dialogI|D.if the|
|000049f0| 54 79 70 65 20 69 73 20 | 22 6c 69 73 74 22 20 74 |Type is |"list" t|
|00004a00| 68 65 6e 20 68 61 6e 64 | 6c 65 4c 69 73 74 44 69 |hen hand|leListDi|
|00004a10| 61 6c 6f 67 20 22 63 6c | 6f 73 65 22 2c 73 75 62 |alog "cl|ose",sub|
|00004a20| 6a 65 63 74 57 69 6e 64 | 6f 77 2c 20 73 75 62 6a |jectWind|ow, subj|
|00004a30| 65 63 74 49 74 65 6d 2c | 20 64 69 61 6c 6f 67 49 |ectItem,| dialogI|
|00004a40| 44 0d 69 66 20 74 68 65 | 54 79 70 65 20 69 73 20 |D.if the|Type is |
|00004a50| 22 69 63 6f 6e 22 20 74 | 68 65 6e 20 68 61 6e 64 |"icon" t|hen hand|
|00004a60| 6c 65 49 63 6f 6e 44 69 | 61 6c 6f 67 20 22 63 6c |leIconDi|alog "cl|
|00004a70| 6f 73 65 22 2c 73 75 62 | 6a 65 63 74 57 69 6e 64 |ose",sub|jectWind|
|00004a80| 6f 77 2c 20 73 75 62 6a | 65 63 74 49 74 65 6d 2c |ow, subj|ectItem,|
|00004a90| 20 64 69 61 6c 6f 67 49 | 44 0d 0d 67 65 74 20 4d | dialogI|D..get M|
|00004aa0| 65 67 61 57 69 6e 64 6f | 77 28 22 4b 49 4c 4c 45 |egaWindo|w("KILLE|
|00004ab0| 44 49 54 22 2c 64 69 61 | 6c 6f 67 49 44 2c 73 75 |DIT",dia|logID,su|
|00004ac0| 62 6a 65 63 74 57 69 6e | 64 6f 77 2c 73 75 62 6a |bjectWin|dow,subj|
|00004ad0| 65 63 74 49 74 65 6d 29 | 0d 65 6e 64 20 4d 65 67 |ectItem)|.end Meg|
|00004ae0| 61 45 64 69 74 6f 72 4d | 65 73 73 61 67 65 0d 0d |aEditorM|essage..|
|00004af0| 6f 6e 20 68 61 6e 64 6c | 65 42 75 74 74 6f 6e 44 |on handl|eButtonD|
|00004b00| 69 61 6c 6f 67 20 61 63 | 74 69 6f 6e 2c 20 73 75 |ialog ac|tion, su|
|00004b10| 62 6a 65 63 74 57 69 6e | 64 6f 77 2c 20 73 75 62 |bjectWin|dow, sub|
|00004b20| 6a 65 63 74 49 74 65 6d | 2c 20 64 69 61 6c 6f 67 |jectItem|, dialog|
|00004b30| 49 44 0d 69 66 20 61 63 | 74 69 6f 6e 20 69 73 20 |ID.if ac|tion is |
|00004b40| 22 6f 70 65 6e 22 20 74 | 68 65 6e 0d 73 65 74 20 |"open" t|hen.set |
|00004b50| 74 68 65 20 68 65 69 67 | 68 74 20 6f 66 20 77 69 |the heig|ht of wi|
|00004b60| 6e 64 6f 77 20 69 64 20 | 64 69 61 6c 6f 67 49 44 |ndow id |dialogID|
|00004b70| 20 74 6f 20 31 32 33 0d | 67 65 74 20 4d 65 67 61 | to 123.|get Mega|
|00004b80| 57 69 6e 64 6f 77 28 22 | 53 65 74 22 2c 22 56 69 |Window("|Set","Vi|
|00004b90| 73 69 62 6c 65 22 2c 64 | 69 61 6c 6f 67 49 44 2c |sible",d|ialogID,|
|00004ba0| 22 32 30 2c 32 31 2c 32 | 32 22 2c 74 72 75 65 29 |"20,21,2|2",true)|
|00004bb0| 0d 67 65 74 20 4d 65 67 | 61 57 69 6e 64 6f 77 28 |.get Meg|aWindow(|
|00004bc0| 22 53 65 74 22 2c 22 54 | 65 78 74 22 2c 64 69 61 |"Set","T|ext",dia|
|00004bd0| 6c 6f 67 49 44 2c 32 32 | 2c 4d 65 67 61 57 69 6e |logID,22|,MegaWin|
|00004be0| 64 6f 77 28 22 47 65 74 | 22 2c 22 54 69 74 6c 65 |dow("Get|","Title|
|00004bf0| 22 2c 73 75 62 6a 65 63 | 74 57 69 6e 64 6f 77 2c |",subjec|tWindow,|
|00004c00| 73 75 62 6a 65 63 74 49 | 74 65 6d 29 29 0d 67 65 |subjectI|tem)).ge|
|00004c10| 74 20 4d 65 67 61 57 69 | 6e 64 6f 77 28 22 53 65 |t MegaWi|ndow("Se|
|00004c20| 74 22 2c 22 53 65 6c 65 | 63 74 69 6f 6e 22 2c 64 |t","Sele|ction",d|
|00004c30| 69 61 6c 6f 67 49 44 2c | 32 32 2c 22 30 2c 33 32 |ialogID,|22,"0,32|
|00004c40| 37 36 37 22 29 0d 70 75 | 74 20 22 53 74 61 6e 64 |767").pu|t "Stand|
|00004c50| 61 72 64 22 26 72 65 74 | 75 72 6e 26 22 42 65 76 |ard"&ret|urn&"Bev|
|00004c60| 65 6c 22 26 72 65 74 75 | 72 6e 26 22 47 72 61 79 |el"&retu|rn&"Gray|
|00004c70| 22 26 72 65 74 75 72 6e | 26 22 33 44 22 26 72 65 |"&return|&"3D"&re|
|00004c80| 74 75 72 6e 26 22 52 61 | 69 73 65 64 22 20 69 6e |turn&"Ra|ised" in|
|00004c90| 74 6f 20 73 74 79 6c 65 | 73 0d 67 65 74 20 4d 65 |to style|s.get Me|
|00004ca0| 67 61 57 69 6e 64 6f 77 | 28 22 53 65 74 22 2c 22 |gaWindow|("Set","|
|00004cb0| 54 65 78 74 22 2c 64 69 | 61 6c 6f 67 49 44 2c 32 |Text",di|alogID,2|
|00004cc0| 31 2c 73 74 79 6c 65 73 | 29 0d 70 75 74 20 4d 65 |1,styles|).put Me|
|00004cd0| 67 61 57 69 6e 64 6f 77 | 28 22 47 65 74 22 2c 22 |gaWindow|("Get","|
|00004ce0| 53 74 79 6c 65 22 2c 73 | 75 62 6a 65 63 74 57 69 |Style",s|ubjectWi|
|00004cf0| 6e 64 6f 77 2c 73 75 62 | 6a 65 63 74 49 74 65 6d |ndow,sub|jectItem|
|00004d00| 29 20 69 6e 74 6f 20 73 | 53 74 79 6c 65 0d 72 65 |) into s|Style.re|
|00004d10| 70 65 61 74 20 77 69 74 | 68 20 63 6f 75 6e 74 20 |peat wit|h count |
|00004d20| 3d 20 31 20 74 6f 20 35 | 0d 69 66 20 73 53 74 79 |= 1 to 5|.if sSty|
|00004d30| 6c 65 20 69 73 20 6e 6f | 74 20 28 6c 69 6e 65 20 |le is no|t (line |
|00004d40| 63 6f 75 6e 74 20 6f 66 | 20 73 74 79 6c 65 73 29 |count of| styles)|
|00004d50| 20 74 68 65 6e 20 6e 65 | 78 74 20 72 65 70 65 61 | then ne|xt repea|
|00004d60| 74 0d 67 65 74 20 4d 65 | 67 61 57 69 6e 64 6f 77 |t.get Me|gaWindow|
|00004d70| 28 22 53 65 74 22 2c 22 | 53 65 6c 65 63 74 69 6f |("Set","|Selectio|
|00004d80| 6e 22 2c 64 69 61 6c 6f | 67 49 44 2c 32 31 2c 63 |n",dialo|gID,21,c|
|00004d90| 6f 75 6e 74 29 0d 65 78 | 69 74 20 72 65 70 65 61 |ount).ex|it repea|
|00004da0| 74 0d 65 6e 64 20 72 65 | 70 65 61 74 0d 67 65 74 |t.end re|peat.get|
|00004db0| 20 4d 65 67 61 57 69 6e | 64 6f 77 28 22 53 65 74 | MegaWin|dow("Set|
|00004dc0| 22 2c 22 56 61 6c 75 65 | 22 2c 64 69 61 6c 6f 67 |","Value|",dialog|
|00004dd0| 49 44 2c 32 33 2c 4d 65 | 67 61 57 69 6e 64 6f 77 |ID,23,Me|gaWindow|
|00004de0| 28 22 47 65 74 22 2c 22 | 56 61 6c 75 65 22 2c 73 |("Get","|Value",s|
|00004df0| 75 62 6a 65 63 74 57 69 | 6e 64 6f 77 2c 73 75 62 |ubjectWi|ndow,sub|
|00004e00| 6a 65 63 74 49 74 65 6d | 29 29 0d 65 6c 73 65 0d |jectItem|)).else.|
|00004e10| 67 65 74 20 4d 65 67 61 | 57 69 6e 64 6f 77 28 22 |get Mega|Window("|
|00004e20| 53 65 74 22 2c 22 54 69 | 74 6c 65 22 2c 73 75 62 |Set","Ti|tle",sub|
|00004e30| 6a 65 63 74 57 69 6e 64 | 6f 77 2c 73 75 62 6a 65 |jectWind|ow,subje|
|00004e40| 63 74 49 74 65 6d 2c 4d | 65 67 61 57 69 6e 64 6f |ctItem,M|egaWindo|
|00004e50| 77 28 22 47 65 74 22 2c | 22 54 65 78 74 22 2c 64 |w("Get",|"Text",d|
|00004e60| 69 61 6c 6f 67 49 44 2c | 32 32 29 29 0d 67 65 74 |ialogID,|22)).get|
|00004e70| 20 4d 65 67 61 57 69 6e | 64 6f 77 28 22 53 65 74 | MegaWin|dow("Set|
|00004e80| 22 2c 22 53 74 79 6c 65 | 22 2c 73 75 62 6a 65 63 |","Style|",subjec|
|00004e90| 74 57 69 6e 64 6f 77 2c | 73 75 62 6a 65 63 74 49 |tWindow,|subjectI|
|00004ea0| 74 65 6d 2c 6c 69 6e 65 | 20 4d 65 67 61 57 69 6e |tem,line| MegaWin|
|00004eb0| 64 6f 77 28 22 47 65 74 | 22 2c 22 53 65 6c 65 63 |dow("Get|","Selec|
|00004ec0| 74 69 6f 6e 22 2c 64 69 | 61 6c 6f 67 49 44 2c 32 |tion",di|alogID,2|
|00004ed0| 31 29 20 6f 66 20 4d 65 | 67 61 57 69 6e 64 6f 77 |1) of Me|gaWindow|
|00004ee0| 28 22 47 65 74 22 2c 22 | 54 65 78 74 22 2c 64 69 |("Get","|Text",di|
|00004ef0| 61 6c 6f 67 49 44 2c 32 | 31 29 29 0d 65 6e 64 20 |alogID,2|1)).end |
|00004f00| 69 66 0d 65 6e 64 20 68 | 61 6e 64 6c 65 42 75 74 |if.end h|andleBut|
|00004f10| 74 6f 6e 44 69 61 6c 6f | 67 0d 0d 6f 6e 20 68 61 |tonDialo|g..on ha|
|00004f20| 6e 64 6c 65 43 68 65 63 | 6b 42 6f 78 44 69 61 6c |ndleChec|kBoxDial|
|00004f30| 6f 67 20 61 63 74 69 6f | 6e 2c 20 73 75 62 6a 65 |og actio|n, subje|
|00004f40| 63 74 57 69 6e 64 6f 77 | 2c 20 73 75 62 6a 65 63 |ctWindow|, subjec|
|00004f50| 74 49 74 65 6d 2c 20 64 | 69 61 6c 6f 67 49 44 0d |tItem, d|ialogID.|
|00004f60| 69 66 20 61 63 74 69 6f | 6e 20 69 73 20 22 6f 70 |if actio|n is "op|
|00004f70| 65 6e 22 20 74 68 65 6e | 0d 73 65 74 20 74 68 65 |en" then|.set the|
|00004f80| 20 68 65 69 67 68 74 20 | 6f 66 20 77 69 6e 64 6f | height |of windo|
|00004f90| 77 20 69 64 20 64 69 61 | 6c 6f 67 49 44 20 74 6f |w id dia|logID to|
|00004fa0| 20 31 34 36 0d 67 65 74 | 20 4d 65 67 61 57 69 6e | 146.get| MegaWin|
|00004fb0| 64 6f 77 28 22 53 65 74 | 22 2c 22 56 69 73 69 62 |dow("Set|","Visib|
|00004fc0| 6c 65 22 2c 64 69 61 6c | 6f 67 49 44 2c 22 32 30 |le",dial|ogID,"20|
|00004fd0| 2c 32 31 2c 32 32 2c 32 | 33 22 2c 74 72 75 65 29 |,21,22,2|3",true)|
|00004fe0| 0d 67 65 74 20 4d 65 67 | 61 57 69 6e 64 6f 77 28 |.get Meg|aWindow(|
|00004ff0| 22 53 65 74 22 2c 22 54 | 65 78 74 22 2c 64 69 61 |"Set","T|ext",dia|
|00005000| 6c 6f 67 49 44 2c 32 32 | 2c 4d 65 67 61 57 69 6e |logID,22|,MegaWin|
|00005010| 64 6f 77 28 22 47 65 74 | 22 2c 22 54 69 74 6c 65 |dow("Get|","Title|
|00005020| 22 2c 73 75 62 6a 65 63 | 74 57 69 6e 64 6f 77 2c |",subjec|tWindow,|
|00005030| 73 75 62 6a 65 63 74 49 | 74 65 6d 29 29 0d 67 65 |subjectI|tem)).ge|
|00005040| 74 20 4d 65 67 61 57 69 | 6e 64 6f 77 28 22 53 65 |t MegaWi|ndow("Se|
|00005050| 74 22 2c 22 53 65 6c 65 | 63 74 69 6f 6e 22 2c 64 |t","Sele|ction",d|
|00005060| 69 61 6c 6f 67 49 44 2c | 32 32 2c 22 30 2c 33 32 |ialogID,|22,"0,32|
|00005070| 37 36 37 22 29 0d 70 75 | 74 20 22 53 74 61 6e 64 |767").pu|t "Stand|
|00005080| 61 72 64 22 26 72 65 74 | 75 72 6e 26 22 45 6d 62 |ard"&ret|urn&"Emb|
|00005090| 6f 73 73 22 26 72 65 74 | 75 72 6e 26 22 42 65 76 |oss"&ret|urn&"Bev|
|000050a0| 65 6c 22 26 72 65 74 75 | 72 6e 26 22 4c 69 74 74 |el"&retu|rn&"Litt|
|000050b0| 6c 65 22 26 72 65 74 75 | 72 6e 26 22 54 6f 67 67 |le"&retu|rn&"Togg|
|000050c0| 6c 65 22 20 69 6e 74 6f | 20 73 74 79 6c 65 73 0d |le" into| styles.|
|000050d0| 67 65 74 20 4d 65 67 61 | 57 69 6e 64 6f 77 28 22 |get Mega|Window("|
|000050e0| 53 65 74 22 2c 22 54 65 | 78 74 22 2c 64 69 61 6c |Set","Te|xt",dial|
|000050f0| 6f 67 49 44 2c 32 31 2c | 73 74 79 6c 65 73 29 0d |ogID,21,|styles).|
|00005100| 70 75 74 20 4d 65 67 61 | 57 69 6e 64 6f 77 28 22 |put Mega|Window("|
|00005110| 47 65 74 22 2c 22 53 74 | 79 6c 65 22 2c 73 75 62 |Get","St|yle",sub|
|00005120| 6a 65 63 74 57 69 6e 64 | 6f 77 2c 73 75 62 6a 65 |jectWind|ow,subje|
|00005130| 63 74 49 74 65 6d 29 20 | 69 6e 74 6f 20 73 53 74 |ctItem) |into sSt|
|00005140| 79 6c 65 0d 67 65 74 20 | 4d 65 67 61 57 69 6e 64 |yle.get |MegaWind|
|00005150| 6f 77 28 22 53 65 74 22 | 2c 22 48 69 6c 69 74 65 |ow("Set"|,"Hilite|
|00005160| 22 2c 64 69 61 6c 6f 67 | 49 44 2c 32 33 2c 4d 65 |",dialog|ID,23,Me|
|00005170| 67 61 57 69 6e 64 6f 77 | 28 22 47 65 74 22 2c 22 |gaWindow|("Get","|
|00005180| 48 69 6c 69 74 65 22 2c | 73 75 62 6a 65 63 74 57 |Hilite",|subjectW|
|00005190| 69 6e 64 6f 77 2c 73 75 | 62 6a 65 63 74 49 74 65 |indow,su|bjectIte|
|000051a0| 6d 29 29 0d 72 65 70 65 | 61 74 20 77 69 74 68 20 |m)).repe|at with |
|000051b0| 63 6f 75 6e 74 20 3d 20 | 31 20 74 6f 20 35 0d 69 |count = |1 to 5.i|
|000051c0| 66 20 73 53 74 79 6c 65 | 20 69 73 20 6e 6f 74 20 |f sStyle| is not |
|000051d0| 28 6c 69 6e 65 20 63 6f | 75 6e 74 20 6f 66 20 73 |(line co|unt of s|
|000051e0| 74 79 6c 65 73 29 20 74 | 68 65 6e 20 6e 65 78 74 |tyles) t|hen next|
|000051f0| 20 72 65 70 65 61 74 0d | 67 65 74 20 4d 65 67 61 | repeat.|get Mega|
|00005200| 57 69 6e 64 6f 77 28 22 | 53 65 74 22 2c 22 53 65 |Window("|Set","Se|
|00005210| 6c 65 63 74 69 6f 6e 22 | 2c 64 69 61 6c 6f 67 49 |lection"|,dialogI|
|00005220| 44 2c 32 31 2c 63 6f 75 | 6e 74 29 0d 65 78 69 74 |D,21,cou|nt).exit|
|00005230| 20 72 65 70 65 61 74 0d | 65 6e 64 20 72 65 70 65 | repeat.|end repe|
|00005240| 61 74 0d 65 6c 73 65 0d | 67 65 74 20 4d 65 67 61 |at.else.|get Mega|
|00005250| 57 69 6e 64 6f 77 28 22 | 53 65 74 22 2c 22 54 69 |Window("|Set","Ti|
|00005260| 74 6c 65 22 2c 73 75 62 | 6a 65 63 74 57 69 6e 64 |tle",sub|jectWind|
|00005270| 6f 77 2c 73 75 62 6a 65 | 63 74 49 74 65 6d 2c 4d |ow,subje|ctItem,M|
|00005280| 65 67 61 57 69 6e 64 6f | 77 28 22 47 65 74 22 2c |egaWindo|w("Get",|
|00005290| 22 54 65 78 74 22 2c 64 | 69 61 6c 6f 67 49 44 2c |"Text",d|ialogID,|
|000052a0| 32 32 29 29 0d 67 65 74 | 20 4d 65 67 61 57 69 6e |22)).get| MegaWin|
|000052b0| 64 6f 77 28 22 53 65 74 | 22 2c 22 53 74 79 6c 65 |dow("Set|","Style|
|000052c0| 22 2c 73 75 62 6a 65 63 | 74 57 69 6e 64 6f 77 2c |",subjec|tWindow,|
|000052d0| 73 75 62 6a 65 63 74 49 | 74 65 6d 2c 6c 69 6e 65 |subjectI|tem,line|
|000052e0| 20 4d 65 67 61 57 69 6e | 64 6f 77 28 22 47 65 74 | MegaWin|dow("Get|
|000052f0| 22 2c 22 53 65 6c 65 63 | 74 69 6f 6e 22 2c 64 69 |","Selec|tion",di|
|00005300| 61 6c 6f 67 49 44 2c 32 | 31 29 20 6f 66 20 4d 65 |alogID,2|1) of Me|
|00005310| 67 61 57 69 6e 64 6f 77 | 28 22 47 65 74 22 2c 22 |gaWindow|("Get","|
|00005320| 54 65 78 74 22 2c 64 69 | 61 6c 6f 67 49 44 2c 32 |Text",di|alogID,2|
|00005330| 31 29 29 0d 67 65 74 20 | 4d 65 67 61 57 69 6e 64 |1)).get |MegaWind|
|00005340| 6f 77 28 22 53 65 74 22 | 2c 22 48 69 6c 69 74 65 |ow("Set"|,"Hilite|
|00005350| 22 2c 73 75 62 6a 65 63 | 74 57 69 6e 64 6f 77 2c |",subjec|tWindow,|
|00005360| 73 75 62 6a 65 63 74 49 | 74 65 6d 2c 4d 65 67 61 |subjectI|tem,Mega|
|00005370| 57 69 6e 64 6f 77 28 22 | 47 65 74 22 2c 22 48 69 |Window("|Get","Hi|
|00005380| 6c 69 74 65 22 2c 64 69 | 61 6c 6f 67 49 44 2c 32 |lite",di|alogID,2|
|00005390| 33 29 29 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 68 |3)).end |if.end h|
|000053a0| 61 6e 64 6c 65 43 68 65 | 63 6b 42 6f 78 44 69 61 |andleChe|ckBoxDia|
|000053b0| 6c 6f 67 0d 0d 6f 6e 20 | 68 61 6e 64 6c 65 52 61 |log..on |handleRa|
|000053c0| 64 69 6f 42 75 74 74 6f | 6e 44 69 61 6c 6f 67 20 |dioButto|nDialog |
|000053d0| 61 63 74 69 6f 6e 2c 20 | 73 75 62 6a 65 63 74 57 |action, |subjectW|
|000053e0| 69 6e 64 6f 77 2c 20 73 | 75 62 6a 65 63 74 49 74 |indow, s|ubjectIt|
|000053f0| 65 6d 2c 20 64 69 61 6c | 6f 67 49 44 0d 69 66 20 |em, dial|ogID.if |
|00005400| 61 63 74 69 6f 6e 20 69 | 73 20 22 6f 70 65 6e 22 |action i|s "open"|
|00005410| 20 74 68 65 6e 0d 73 65 | 74 20 74 68 65 20 68 65 | then.se|t the he|
|00005420| 69 67 68 74 20 6f 66 20 | 77 69 6e 64 6f 77 20 69 |ight of |window i|
|00005430| 64 20 64 69 61 6c 6f 67 | 49 44 20 74 6f 20 31 34 |d dialog|ID to 14|
|00005440| 36 0d 67 65 74 20 4d 65 | 67 61 57 69 6e 64 6f 77 |6.get Me|gaWindow|
|00005450| 28 22 53 65 74 22 2c 22 | 56 69 73 69 62 6c 65 22 |("Set","|Visible"|
|00005460| 2c 64 69 61 6c 6f 67 49 | 44 2c 22 32 30 2c 32 31 |,dialogI|D,"20,21|
|00005470| 2c 32 32 2c 32 33 2c 32 | 34 2c 32 35 22 2c 74 72 |,22,23,2|4,25",tr|
|00005480| 75 65 29 0d 67 65 74 20 | 4d 65 67 61 57 69 6e 64 |ue).get |MegaWind|
|00005490| 6f 77 28 22 53 65 74 22 | 2c 22 54 65 78 74 22 2c |ow("Set"|,"Text",|
|000054a0| 64 69 61 6c 6f 67 49 44 | 2c 32 32 2c 4d 65 67 61 |dialogID|,22,Mega|
|000054b0| 57 69 6e 64 6f 77 28 22 | 47 65 74 22 2c 22 54 69 |Window("|Get","Ti|
|000054c0| 74 6c 65 22 2c 73 75 62 | 6a 65 63 74 57 69 6e 64 |tle",sub|jectWind|
|000054d0| 6f 77 2c 73 75 62 6a 65 | 63 74 49 74 65 6d 29 29 |ow,subje|ctItem))|
|000054e0| 0d 67 65 74 20 4d 65 67 | 61 57 69 6e 64 6f 77 28 |.get Meg|aWindow(|
|000054f0| 22 53 65 74 22 2c 22 54 | 65 78 74 22 2c 64 69 61 |"Set","T|ext",dia|
|00005500| 6c 6f 67 49 44 2c 32 35 | 2c 4d 65 67 61 57 69 6e |logID,25|,MegaWin|
|00005510| 64 6f 77 28 22 47 65 74 | 22 2c 22 46 61 6d 69 6c |dow("Get|","Famil|
|00005520| 79 22 2c 73 75 62 6a 65 | 63 74 57 69 6e 64 6f 77 |y",subje|ctWindow|
|00005530| 2c 73 75 62 6a 65 63 74 | 49 74 65 6d 29 29 0d 67 |,subject|Item)).g|
|00005540| 65 74 20 4d 65 67 61 57 | 69 6e 64 6f 77 28 22 53 |et MegaW|indow("S|
|00005550| 65 74 22 2c 22 53 65 6c | 65 63 74 69 6f 6e 22 2c |et","Sel|ection",|
|00005560| 64 69 61 6c 6f 67 49 44 | 2c 32 32 2c 22 30 2c 33 |dialogID|,22,"0,3|
|00005570| 32 37 36 37 22 29 0d 70 | 75 74 20 22 53 74 61 6e |2767").p|ut "Stan|
|00005580| 64 61 72 64 22 26 72 65 | 74 75 72 6e 26 22 42 65 |dard"&re|turn&"Be|
|00005590| 76 65 6c 22 20 69 6e 74 | 6f 20 73 74 79 6c 65 73 |vel" int|o styles|
|000055a0| 0d 67 65 74 20 4d 65 67 | 61 57 69 6e 64 6f 77 28 |.get Meg|aWindow(|
|000055b0| 22 53 65 74 22 2c 22 54 | 65 78 74 22 2c 64 69 61 |"Set","T|ext",dia|
|000055c0| 6c 6f 67 49 44 2c 32 31 | 2c 73 74 79 6c 65 73 29 |logID,21|,styles)|
|000055d0| 0d 70 75 74 20 4d 65 67 | 61 57 69 6e 64 6f 77 28 |.put Meg|aWindow(|
|000055e0| 22 47 65 74 22 2c 22 53 | 74 79 6c 65 22 2c 73 75 |"Get","S|tyle",su|
|000055f0| 62 6a 65 63 74 57 69 6e | 64 6f 77 2c 73 75 62 6a |bjectWin|dow,subj|
|00005600| 65 63 74 49 74 65 6d 29 | 20 69 6e 74 6f 20 73 53 |ectItem)| into sS|
|00005610| 74 79 6c 65 0d 67 65 74 | 20 4d 65 67 61 57 69 6e |tyle.get| MegaWin|
|00005620| 64 6f 77 28 22 53 65 74 | 22 2c 22 48 69 6c 69 74 |dow("Set|","Hilit|
|00005630| 65 22 2c 64 69 61 6c 6f | 67 49 44 2c 32 33 2c 4d |e",dialo|gID,23,M|
|00005640| 65 67 61 57 69 6e 64 6f | 77 28 22 47 65 74 22 2c |egaWindo|w("Get",|
|00005650| 22 48 69 6c 69 74 65 22 | 2c 73 75 62 6a 65 63 74 |"Hilite"|,subject|
|00005660| 57 69 6e 64 6f 77 2c 73 | 75 62 6a 65 63 74 49 74 |Window,s|ubjectIt|
|00005670| 65 6d 29 29 0d 72 65 70 | 65 61 74 20 77 69 74 68 |em)).rep|eat with|
|00005680| 20 63 6f 75 6e 74 20 3d | 20 31 20 74 6f 20 32 0d | count =| 1 to 2.|
|00005690| 69 66 20 73 53 74 79 6c | 65 20 69 73 20 6e 6f 74 |if sStyl|e is not|
|000056a0| 20 28 6c 69 6e 65 20 63 | 6f 75 6e 74 20 6f 66 20 | (line c|ount of |
|000056b0| 73 74 79 6c 65 73 29 20 | 74 68 65 6e 20 6e 65 78 |styles) |then nex|
|000056c0| 74 20 72 65 70 65 61 74 | 0d 67 65 74 20 4d 65 67 |t repeat|.get Meg|
|000056d0| 61 57 69 6e 64 6f 77 28 | 22 53 65 74 22 2c 22 53 |aWindow(|"Set","S|
|000056e0| 65 6c 65 63 74 69 6f 6e | 22 2c 64 69 61 6c 6f 67 |election|",dialog|
|000056f0| 49 44 2c 32 31 2c 63 6f | 75 6e 74 29 0d 65 78 69 |ID,21,co|unt).exi|
|00005700| 74 20 72 65 70 65 61 74 | 0d 65 6e 64 20 72 65 70 |t repeat|.end rep|
|00005710| 65 61 74 0d 65 6c 73 65 | 0d 67 65 74 20 4d 65 67 |eat.else|.get Meg|
|00005720| 61 57 69 6e 64 6f 77 28 | 22 53 65 74 22 2c 22 54 |aWindow(|"Set","T|
|00005730| 69 74 6c 65 22 2c 73 75 | 62 6a 65 63 74 57 69 6e |itle",su|bjectWin|
|00005740| 64 6f 77 2c 73 75 62 6a | 65 63 74 49 74 65 6d 2c |dow,subj|ectItem,|
|00005750| 4d 65 67 61 57 69 6e 64 | 6f 77 28 22 47 65 74 22 |MegaWind|ow("Get"|
|00005760| 2c 22 54 65 78 74 22 2c | 64 69 61 6c 6f 67 49 44 |,"Text",|dialogID|
|00005770| 2c 32 32 29 29 0d 67 65 | 74 20 4d 65 67 61 57 69 |,22)).ge|t MegaWi|
|00005780| 6e 64 6f 77 28 22 53 65 | 74 22 2c 22 46 61 6d 69 |ndow("Se|t","Fami|
|00005790| 6c 79 22 2c 73 75 62 6a | 65 63 74 57 69 6e 64 6f |ly",subj|ectWindo|
|000057a0| 77 2c 73 75 62 6a 65 63 | 74 49 74 65 6d 2c 4d 65 |w,subjec|tItem,Me|
|000057b0| 67 61 57 69 6e 64 6f 77 | 28 22 47 65 74 22 2c 22 |gaWindow|("Get","|
|000057c0| 54 65 78 74 22 2c 64 69 | 61 6c 6f 67 49 44 2c 32 |Text",di|alogID,2|
|000057d0| 35 29 29 0d 67 65 74 20 | 4d 65 67 61 57 69 6e 64 |5)).get |MegaWind|
|000057e0| 6f 77 28 22 53 65 74 22 | 2c 22 53 74 79 6c 65 22 |ow("Set"|,"Style"|
|000057f0| 2c 73 75 62 6a 65 63 74 | 57 69 6e 64 6f 77 2c 73 |,subject|Window,s|
|00005800| 75 62 6a 65 63 74 49 74 | 65 6d 2c 6c 69 6e 65 20 |ubjectIt|em,line |
|00005810| 4d 65 67 61 57 69 6e 64 | 6f 77 28 22 47 65 74 22 |MegaWind|ow("Get"|
|00005820| 2c 22 53 65 6c 65 63 74 | 69 6f 6e 22 2c 64 69 61 |,"Select|ion",dia|
|00005830| 6c 6f 67 49 44 2c 32 31 | 29 20 6f 66 20 4d 65 67 |logID,21|) of Meg|
|00005840| 61 57 69 6e 64 6f 77 28 | 22 47 65 74 22 2c 22 54 |aWindow(|"Get","T|
|00005850| 65 78 74 22 2c 64 69 61 | 6c 6f 67 49 44 2c 32 31 |ext",dia|logID,21|
|00005860| 29 29 0d 67 65 74 20 4d | 65 67 61 57 69 6e 64 6f |)).get M|egaWindo|
|00005870| 77 28 22 53 65 74 22 2c | 22 48 69 6c 69 74 65 22 |w("Set",|"Hilite"|
|00005880| 2c 73 75 62 6a 65 63 74 | 57 69 6e 64 6f 77 2c 73 |,subject|Window,s|
|00005890| 75 62 6a 65 63 74 49 74 | 65 6d 2c 4d 65 67 61 57 |ubjectIt|em,MegaW|
|000058a0| 69 6e 64 6f 77 28 22 47 | 65 74 22 2c 22 48 69 6c |indow("G|et","Hil|
|000058b0| 69 74 65 22 2c 64 69 61 | 6c 6f 67 49 44 2c 32 33 |ite",dia|logID,23|
|000058c0| 29 29 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 68 61 |)).end i|f.end ha|
|000058d0| 6e 64 6c 65 52 61 64 69 | 6f 42 75 74 74 6f 6e 44 |ndleRadi|oButtonD|
|000058e0| 69 61 6c 6f 67 0d 0d 6f | 6e 20 68 61 6e 64 6c 65 |ialog..o|n handle|
|000058f0| 46 72 61 6d 65 44 69 61 | 6c 6f 67 20 61 63 74 69 |FrameDia|log acti|
|00005900| 6f 6e 2c 20 73 75 62 6a | 65 63 74 57 69 6e 64 6f |on, subj|ectWindo|
|00005910| 77 2c 20 73 75 62 6a 65 | 63 74 49 74 65 6d 2c 20 |w, subje|ctItem, |
|00005920| 64 69 61 6c 6f 67 49 44 | 0d 69 66 20 61 63 74 69 |dialogID|.if acti|
|00005930| 6f 6e 20 69 73 20 22 6f | 70 65 6e 22 20 74 68 65 |on is "o|pen" the|
|00005940| 6e 0d 73 65 74 20 74 68 | 65 20 68 65 69 67 68 74 |n.set th|e height|
|00005950| 20 6f 66 20 77 69 6e 64 | 6f 77 20 69 64 20 64 69 | of wind|ow id di|
|00005960| 61 6c 6f 67 49 44 20 74 | 6f 20 31 32 33 0d 67 65 |alogID t|o 123.ge|
|00005970| 74 20 4d 65 67 61 57 69 | 6e 64 6f 77 28 22 53 65 |t MegaWi|ndow("Se|
|00005980| 74 22 2c 22 56 69 73 69 | 62 6c 65 22 2c 64 69 61 |t","Visi|ble",dia|
|00005990| 6c 6f 67 49 44 2c 22 32 | 30 2c 32 31 2c 32 32 22 |logID,"2|0,21,22"|
|000059a0| 2c 74 72 75 65 29 0d 67 | 65 74 20 4d 65 67 61 57 |,true).g|et MegaW|
|000059b0| 69 6e 64 6f 77 28 22 53 | 65 74 22 2c 22 54 65 78 |indow("S|et","Tex|
|000059c0| 74 22 2c 64 69 61 6c 6f | 67 49 44 2c 32 32 2c 4d |t",dialo|gID,22,M|
|000059d0| 65 67 61 57 69 6e 64 6f | 77 28 22 47 65 74 22 2c |egaWindo|w("Get",|
|000059e0| 22 54 69 74 6c 65 22 2c | 73 75 62 6a 65 63 74 57 |"Title",|subjectW|
|000059f0| 69 6e 64 6f 77 2c 73 75 | 62 6a 65 63 74 49 74 65 |indow,su|bjectIte|
|00005a00| 6d 29 29 0d 67 65 74 20 | 4d 65 67 61 57 69 6e 64 |m)).get |MegaWind|
|00005a10| 6f 77 28 22 53 65 74 22 | 2c 22 53 65 6c 65 63 74 |ow("Set"|,"Select|
|00005a20| 69 6f 6e 22 2c 64 69 61 | 6c 6f 67 49 44 2c 32 32 |ion",dia|logID,22|
|00005a30| 2c 22 30 2c 33 32 37 36 | 37 22 29 0d 70 75 74 20 |,"0,3276|7").put |
|00005a40| 22 42 6c 61 63 6b 22 26 | 72 65 74 75 72 6e 26 22 |"Black"&|return&"|
|00005a50| 47 72 61 79 22 26 72 65 | 74 75 72 6e 26 22 4c 61 |Gray"&re|turn&"La|
|00005a60| 63 65 64 22 26 72 65 74 | 75 72 6e 26 22 45 6d 62 |ced"&ret|urn&"Emb|
|00005a70| 6f 73 73 22 26 72 65 74 | 75 72 6e 26 22 48 65 61 |oss"&ret|urn&"Hea|
|00005a80| 76 79 22 20 69 6e 74 6f | 20 73 74 79 6c 65 73 0d |vy" into| styles.|
|00005a90| 67 65 74 20 4d 65 67 61 | 57 69 6e 64 6f 77 28 22 |get Mega|Window("|
|00005aa0| 53 65 74 22 2c 22 54 65 | 78 74 22 2c 64 69 61 6c |Set","Te|xt",dial|
|00005ab0| 6f 67 49 44 2c 32 31 2c | 73 74 79 6c 65 73 29 0d |ogID,21,|styles).|
|00005ac0| 70 75 74 20 4d 65 67 61 | 57 69 6e 64 6f 77 28 22 |put Mega|Window("|
|00005ad0| 47 65 74 22 2c 22 53 74 | 79 6c 65 22 2c 73 75 62 |Get","St|yle",sub|
|00005ae0| 6a 65 63 74 57 69 6e 64 | 6f 77 2c 73 75 62 6a 65 |jectWind|ow,subje|
|00005af0| 63 74 49 74 65 6d 29 20 | 69 6e 74 6f 20 73 53 74 |ctItem) |into sSt|
|00005b00| 79 6c 65 0d 72 65 70 65 | 61 74 20 77 69 74 68 20 |yle.repe|at with |
|00005b10| 63 6f 75 6e 74 20 3d 20 | 31 20 74 6f 20 35 0d 69 |count = |1 to 5.i|
|00005b20| 66 20 73 53 74 79 6c 65 | 20 69 73 20 6e 6f 74 20 |f sStyle| is not |
|00005b30| 28 6c 69 6e 65 20 63 6f | 75 6e 74 20 6f 66 20 73 |(line co|unt of s|
|00005b40| 74 79 6c 65 73 29 20 74 | 68 65 6e 20 6e 65 78 74 |tyles) t|hen next|
|00005b50| 20 72 65 70 65 61 74 0d | 67 65 74 20 4d 65 67 61 | repeat.|get Mega|
|00005b60| 57 69 6e 64 6f 77 28 22 | 53 65 74 22 2c 22 53 65 |Window("|Set","Se|
|00005b70| 6c 65 63 74 69 6f 6e 22 | 2c 64 69 61 6c 6f 67 49 |lection"|,dialogI|
|00005b80| 44 2c 32 31 2c 63 6f 75 | 6e 74 29 0d 65 78 69 74 |D,21,cou|nt).exit|
|00005b90| 20 72 65 70 65 61 74 0d | 65 6e 64 20 72 65 70 65 | repeat.|end repe|
|00005ba0| 61 74 0d 65 6c 73 65 0d | 67 65 74 20 4d 65 67 61 |at.else.|get Mega|
|00005bb0| 57 69 6e 64 6f 77 28 22 | 53 65 74 22 2c 22 54 69 |Window("|Set","Ti|
|00005bc0| 74 6c 65 22 2c 73 75 62 | 6a 65 63 74 57 69 6e 64 |tle",sub|jectWind|
|00005bd0| 6f 77 2c 73 75 62 6a 65 | 63 74 49 74 65 6d 2c 4d |ow,subje|ctItem,M|
|00005be0| 65 67 61 57 69 6e 64 6f | 77 28 22 47 65 74 22 2c |egaWindo|w("Get",|
|00005bf0| 22 54 65 78 74 22 2c 64 | 69 61 6c 6f 67 49 44 2c |"Text",d|ialogID,|
|00005c00| 32 32 29 29 0d 67 65 74 | 20 4d 65 67 61 57 69 6e |22)).get| MegaWin|
|00005c10| 64 6f 77 28 22 53 65 74 | 22 2c 22 53 74 79 6c 65 |dow("Set|","Style|
|00005c20| 22 2c 73 75 62 6a 65 63 | 74 57 69 6e 64 6f 77 2c |",subjec|tWindow,|
|00005c30| 73 75 62 6a 65 63 74 49 | 74 65 6d 2c 6c 69 6e 65 |subjectI|tem,line|
|00005c40| 20 4d 65 67 61 57 69 6e | 64 6f 77 28 22 47 65 74 | MegaWin|dow("Get|
|00005c50| 22 2c 22 53 65 6c 65 63 | 74 69 6f 6e 22 2c 64 69 |","Selec|tion",di|
|00005c60| 61 6c 6f 67 49 44 2c 32 | 31 29 20 6f 66 20 4d 65 |alogID,2|1) of Me|
|00005c70| 67 61 57 69 6e 64 6f 77 | 28 22 47 65 74 22 2c 22 |gaWindow|("Get","|
|00005c80| 54 65 78 74 22 2c 64 69 | 61 6c 6f 67 49 44 2c 32 |Text",di|alogID,2|
|00005c90| 31 29 29 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 68 |1)).end |if.end h|
|00005ca0| 61 6e 64 6c 65 46 72 61 | 6d 65 44 69 61 6c 6f 67 |andleFra|meDialog|
|00005cb0| 0d 0d 6f 6e 20 68 61 6e | 64 6c 65 50 49 43 54 44 |..on han|dlePICTD|
|00005cc0| 69 61 6c 6f 67 20 61 63 | 74 69 6f 6e 2c 20 73 75 |ialog ac|tion, su|
|00005cd0| 62 6a 65 63 74 57 69 6e | 64 6f 77 2c 20 73 75 62 |bjectWin|dow, sub|
|00005ce0| 6a 65 63 74 49 74 65 6d | 2c 20 64 69 61 6c 6f 67 |jectItem|, dialog|
|00005cf0| 49 44 0d 69 66 20 61 63 | 74 69 6f 6e 20 69 73 20 |ID.if ac|tion is |
|00005d00| 22 6f 70 65 6e 22 20 74 | 68 65 6e 0d 73 65 74 20 |"open" t|hen.set |
|00005d10| 74 68 65 20 68 65 69 67 | 68 74 20 6f 66 20 77 69 |the heig|ht of wi|
|00005d20| 6e 64 6f 77 20 69 64 20 | 64 69 61 6c 6f 67 49 44 |ndow id |dialogID|
|00005d30| 20 74 6f 20 31 32 33 0d | 67 65 74 20 4d 65 67 61 | to 123.|get Mega|
|00005d40| 57 69 6e 64 6f 77 28 22 | 53 65 74 22 2c 22 56 69 |Window("|Set","Vi|
|00005d50| 73 69 62 6c 65 22 2c 64 | 69 61 6c 6f 67 49 44 2c |sible",d|ialogID,|
|00005d60| 22 32 32 2c 32 36 22 2c | 74 72 75 65 29 0d 67 65 |"22,26",|true).ge|
|00005d70| 74 20 4d 65 67 61 57 69 | 6e 64 6f 77 28 22 53 65 |t MegaWi|ndow("Se|
|00005d80| 74 22 2c 22 54 65 78 74 | 22 2c 64 69 61 6c 6f 67 |t","Text|",dialog|
|00005d90| 49 44 2c 32 36 2c 22 70 | 69 63 74 49 44 3a 22 29 |ID,26,"p|ictID:")|
|00005da0| 0d 67 65 74 20 4d 65 67 | 61 57 69 6e 64 6f 77 28 |.get Meg|aWindow(|
|00005db0| 22 53 65 74 22 2c 22 54 | 65 78 74 22 2c 64 69 61 |"Set","T|ext",dia|
|00005dc0| 6c 6f 67 49 44 2c 32 32 | 2c 4d 65 67 61 57 69 6e |logID,22|,MegaWin|
|00005dd0| 64 6f 77 28 22 47 65 74 | 22 2c 22 70 69 63 74 49 |dow("Get|","pictI|
|00005de0| 44 22 2c 73 75 62 6a 65 | 63 74 57 69 6e 64 6f 77 |D",subje|ctWindow|
|00005df0| 2c 73 75 62 6a 65 63 74 | 49 74 65 6d 29 29 0d 67 |,subject|Item)).g|
|00005e00| 65 74 20 4d 65 67 61 57 | 69 6e 64 6f 77 28 22 53 |et MegaW|indow("S|
|00005e10| 65 74 22 2c 22 53 65 6c | 65 63 74 69 6f 6e 22 2c |et","Sel|ection",|
|00005e20| 64 69 61 6c 6f 67 49 44 | 2c 32 32 2c 22 30 2c 33 |dialogID|,22,"0,3|
|00005e30| 32 37 36 37 22 29 0d 65 | 6c 73 65 0d 67 65 74 20 |2767").e|lse.get |
|00005e40| 4d 65 67 61 57 69 6e 64 | 6f 77 28 22 53 65 74 22 |MegaWind|ow("Set"|
|00005e50| 2c 22 70 69 63 74 49 44 | 22 2c 73 75 62 6a 65 63 |,"pictID|",subjec|
|00005e60| 74 57 69 6e 64 6f 77 2c | 73 75 62 6a 65 63 74 49 |tWindow,|subjectI|
|00005e70| 74 65 6d 2c 4d 65 67 61 | 57 69 6e 64 6f 77 28 22 |tem,Mega|Window("|
|00005e80| 47 65 74 22 2c 22 54 65 | 78 74 22 2c 64 69 61 6c |Get","Te|xt",dial|
|00005e90| 6f 67 49 44 2c 32 32 29 | 29 0d 65 6e 64 20 69 66 |ogID,22)|).end if|
|00005ea0| 0d 65 6e 64 20 68 61 6e | 64 6c 65 50 49 43 54 44 |.end han|dlePICTD|
|00005eb0| 69 61 6c 6f 67 0d 0d 6f | 6e 20 68 61 6e 64 6c 65 |ialog..o|n handle|
|00005ec0| 47 61 75 67 65 44 69 61 | 6c 6f 67 20 61 63 74 69 |GaugeDia|log acti|
|00005ed0| 6f 6e 2c 20 73 75 62 6a | 65 63 74 57 69 6e 64 6f |on, subj|ectWindo|
|00005ee0| 77 2c 20 73 75 62 6a 65 | 63 74 49 74 65 6d 2c 20 |w, subje|ctItem, |
|00005ef0| 64 69 61 6c 6f 67 49 44 | 0d 69 66 20 61 63 74 69 |dialogID|.if acti|
|00005f00| 6f 6e 20 69 73 20 22 6f | 70 65 6e 22 20 74 68 65 |on is "o|pen" the|
|00005f10| 6e 0d 73 65 74 20 74 68 | 65 20 68 65 69 67 68 74 |n.set th|e height|
|00005f20| 20 6f 66 20 77 69 6e 64 | 6f 77 20 69 64 20 64 69 | of wind|ow id di|
|00005f30| 61 6c 6f 67 49 44 20 74 | 6f 20 31 32 33 0d 67 65 |alogID t|o 123.ge|
|00005f40| 74 20 4d 65 67 61 57 69 | 6e 64 6f 77 28 22 53 65 |t MegaWi|ndow("Se|
|00005f50| 74 22 2c 22 56 69 73 69 | 62 6c 65 22 2c 64 69 61 |t","Visi|ble",dia|
|00005f60| 6c 6f 67 49 44 2c 22 32 | 32 2c 32 36 22 2c 74 72 |logID,"2|2,26",tr|
|00005f70| 75 65 29 0d 67 65 74 20 | 4d 65 67 61 57 69 6e 64 |ue).get |MegaWind|
|00005f80| 6f 77 28 22 53 65 74 22 | 2c 22 54 65 78 74 22 2c |ow("Set"|,"Text",|
|00005f90| 64 69 61 6c 6f 67 49 44 | 2c 32 36 2c 22 56 61 6c |dialogID|,26,"Val|
|00005fa0| 75 65 3a 22 29 0d 67 65 | 74 20 4d 65 67 61 57 69 |ue:").ge|t MegaWi|
|00005fb0| 6e 64 6f 77 28 22 53 65 | 74 22 2c 22 54 65 78 74 |ndow("Se|t","Text|
|00005fc0| 22 2c 64 69 61 6c 6f 67 | 49 44 2c 32 32 2c 4d 65 |",dialog|ID,22,Me|
|00005fd0| 67 61 57 69 6e 64 6f 77 | 28 22 47 65 74 22 2c 22 |gaWindow|("Get","|
|00005fe0| 56 61 6c 75 65 22 2c 73 | 75 62 6a 65 63 74 57 69 |Value",s|ubjectWi|
|00005ff0| 6e 64 6f 77 2c 73 75 62 | 6a 65 63 74 49 74 65 6d |ndow,sub|jectItem|
|00006000| 29 29 0d 67 65 74 20 4d | 65 67 61 57 69 6e 64 6f |)).get M|egaWindo|
|00006010| 77 28 22 53 65 74 22 2c | 22 53 65 6c 65 63 74 69 |w("Set",|"Selecti|
|00006020| 6f 6e 22 2c 64 69 61 6c | 6f 67 49 44 2c 32 32 2c |on",dial|ogID,22,|
|00006030| 22 30 2c 33 32 37 36 37 | 22 29 0d 65 6c 73 65 0d |"0,32767|").else.|
|00006040| 67 65 74 20 4d 65 67 61 | 57 69 6e 64 6f 77 28 22 |get Mega|Window("|
|00006050| 53 65 74 22 2c 22 56 61 | 6c 75 65 22 2c 73 75 62 |Set","Va|lue",sub|
|00006060| 6a 65 63 74 57 69 6e 64 | 6f 77 2c 73 75 62 6a 65 |jectWind|ow,subje|
|00006070| 63 74 49 74 65 6d 2c 4d | 65 67 61 57 69 6e 64 6f |ctItem,M|egaWindo|
|00006080| 77 28 22 47 65 74 22 2c | 22 54 65 78 74 22 2c 64 |w("Get",|"Text",d|
|00006090| 69 61 6c 6f 67 49 44 2c | 32 32 29 29 0d 65 6e 64 |ialogID,|22)).end|
|000060a0| 20 69 66 0d 65 6e 64 20 | 68 61 6e 64 6c 65 47 61 | if.end |handleGa|
|000060b0| 75 67 65 44 69 61 6c 6f | 67 0d 0d 6f 6e 20 68 61 |ugeDialo|g..on ha|
|000060c0| 6e 64 6c 65 4f 6e 65 4c | 69 6e 65 44 69 61 6c 6f |ndleOneL|ineDialo|
|000060d0| 67 20 61 63 74 69 6f 6e | 2c 20 73 75 62 6a 65 63 |g action|, subjec|
|000060e0| 74 57 69 6e 64 6f 77 2c | 20 73 75 62 6a 65 63 74 |tWindow,| subject|
|000060f0| 49 74 65 6d 2c 20 64 69 | 61 6c 6f 67 49 44 0d 69 |Item, di|alogID.i|
|00006100| 66 20 61 63 74 69 6f 6e | 20 69 73 20 22 6f 70 65 |f action| is "ope|
|00006110| 6e 22 20 74 68 65 6e 0d | 73 65 74 20 74 68 65 20 |n" then.|set the |
|00006120| 68 65 69 67 68 74 20 6f | 66 20 77 69 6e 64 6f 77 |height o|f window|
|00006130| 20 69 64 20 64 69 61 6c | 6f 67 49 44 20 74 6f 20 | id dial|ogID to |
|00006140| 31 32 33 0d 67 65 74 20 | 4d 65 67 61 57 69 6e 64 |123.get |MegaWind|
|00006150| 6f 77 28 22 53 65 74 22 | 2c 22 56 69 73 69 62 6c |ow("Set"|,"Visibl|
|00006160| 65 22 2c 64 69 61 6c 6f | 67 49 44 2c 22 32 38 2c |e",dialo|gID,"28,|
|00006170| 32 39 22 2c 74 72 75 65 | 29 0d 67 65 74 20 4d 65 |29",true|).get Me|
|00006180| 67 61 57 69 6e 64 6f 77 | 28 22 53 65 74 22 2c 22 |gaWindow|("Set","|
|00006190| 54 65 78 74 22 2c 64 69 | 61 6c 6f 67 49 44 2c 32 |Text",di|alogID,2|
|000061a0| 38 2c 4d 65 67 61 57 69 | 6e 64 6f 77 28 22 47 65 |8,MegaWi|ndow("Ge|
|000061b0| 74 22 2c 22 54 65 78 74 | 22 2c 73 75 62 6a 65 63 |t","Text|",subjec|
|000061c0| 74 57 69 6e 64 6f 77 2c | 73 75 62 6a 65 63 74 49 |tWindow,|subjectI|
|000061d0| 74 65 6d 29 29 0d 67 65 | 74 20 4d 65 67 61 57 69 |tem)).ge|t MegaWi|
|000061e0| 6e 64 6f 77 28 22 53 65 | 74 22 2c 22 53 65 6c 65 |ndow("Se|t","Sele|
|000061f0| 63 74 69 6f 6e 22 2c 64 | 69 61 6c 6f 67 49 44 2c |ction",d|ialogID,|
|00006200| 32 38 2c 22 30 2c 33 32 | 37 36 37 22 29 0d 65 6c |28,"0,32|767").el|
|00006210| 73 65 0d 67 65 74 20 4d | 65 67 61 57 69 6e 64 6f |se.get M|egaWindo|
|00006220| 77 28 22 53 65 74 22 2c | 22 54 65 78 74 22 2c 73 |w("Set",|"Text",s|
|00006230| 75 62 6a 65 63 74 57 69 | 6e 64 6f 77 2c 73 75 62 |ubjectWi|ndow,sub|
|00006240| 6a 65 63 74 49 74 65 6d | 2c 4d 65 67 61 57 69 6e |jectItem|,MegaWin|
|00006250| 64 6f 77 28 22 47 65 74 | 22 2c 22 54 65 78 74 22 |dow("Get|","Text"|
|00006260| 2c 64 69 61 6c 6f 67 49 | 44 2c 32 38 29 29 0d 65 |,dialogI|D,28)).e|
|00006270| 6e 64 20 69 66 0d 65 6e | 64 20 68 61 6e 64 6c 65 |nd if.en|d handle|
|00006280| 4f 6e 65 4c 69 6e 65 44 | 69 61 6c 6f 67 0d 0d 6f |OneLineD|ialog..o|
|00006290| 6e 20 68 61 6e 64 6c 65 | 53 74 61 74 69 63 54 65 |n handle|StaticTe|
|000062a0| 78 74 44 69 61 6c 6f 67 | 20 61 63 74 69 6f 6e 2c |xtDialog| action,|
|000062b0| 20 73 75 62 6a 65 63 74 | 57 69 6e 64 6f 77 2c 20 | subject|Window, |
|000062c0| 73 75 62 6a 65 63 74 49 | 74 65 6d 2c 20 64 69 61 |subjectI|tem, dia|
|000062d0| 6c 6f 67 49 44 0d 69 66 | 20 61 63 74 69 6f 6e 20 |logID.if| action |
|000062e0| 69 73 20 22 6f 70 65 6e | 22 20 74 68 65 6e 0d 73 |is "open|" then.s|
|000062f0| 65 74 20 74 68 65 20 68 | 65 69 67 68 74 20 6f 66 |et the h|eight of|
|00006300| 20 77 69 6e 64 6f 77 20 | 69 64 20 64 69 61 6c 6f | window |id dialo|
|00006310| 67 49 44 20 74 6f 20 31 | 32 33 0d 67 65 74 20 4d |gID to 1|23.get M|
|00006320| 65 67 61 57 69 6e 64 6f | 77 28 22 53 65 74 22 2c |egaWindo|w("Set",|
|00006330| 22 56 69 73 69 62 6c 65 | 22 2c 64 69 61 6c 6f 67 |"Visible|",dialog|
|00006340| 49 44 2c 22 32 38 2c 32 | 39 22 2c 74 72 75 65 29 |ID,"28,2|9",true)|
|00006350| 0d 67 65 74 20 4d 65 67 | 61 57 69 6e 64 6f 77 28 |.get Meg|aWindow(|
|00006360| 22 53 65 74 22 2c 22 54 | 65 78 74 22 2c 64 69 61 |"Set","T|ext",dia|
|00006370| 6c 6f 67 49 44 2c 32 38 | 2c 4d 65 67 61 57 69 6e |logID,28|,MegaWin|
|00006380| 64 6f 77 28 22 47 65 74 | 22 2c 22 54 65 78 74 22 |dow("Get|","Text"|
|00006390| 2c 73 75 62 6a 65 63 74 | 57 69 6e 64 6f 77 2c 73 |,subject|Window,s|
|000063a0| 75 62 6a 65 63 74 49 74 | 65 6d 29 29 0d 67 65 74 |ubjectIt|em)).get|
|000063b0| 20 4d 65 67 61 57 69 6e | 64 6f 77 28 22 53 65 74 | MegaWin|dow("Set|
|000063c0| 22 2c 22 53 65 6c 65 63 | 74 69 6f 6e 22 2c 64 69 |","Selec|tion",di|
|000063d0| 61 6c 6f 67 49 44 2c 32 | 38 2c 22 30 2c 33 32 37 |alogID,2|8,"0,327|
|000063e0| 36 37 22 29 0d 65 6c 73 | 65 0d 67 65 74 20 4d 65 |67").els|e.get Me|
|000063f0| 67 61 57 69 6e 64 6f 77 | 28 22 53 65 74 22 2c 22 |gaWindow|("Set","|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.